diff options
Diffstat (limited to 'modules/gallery/controllers/password.php')
| -rw-r--r-- | modules/gallery/controllers/password.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/modules/gallery/controllers/password.php b/modules/gallery/controllers/password.php index 817ff01c..e8b08960 100644 --- a/modules/gallery/controllers/password.php +++ b/modules/gallery/controllers/password.php @@ -32,7 +32,7 @@ class Password_Controller extends Controller {      if (request::method() == "post") {        $this->_change_password();      } else { -      $user = user::lookyp_by_hash(Input::instance()->get("key")); +      $user = user::lookup_by_hash(Input::instance()->get("key"));        if (!empty($user)) {          print $this->_new_password_form($user->hash);        } else { @@ -116,7 +116,7 @@ class Password_Controller extends Controller {    private function _change_password() {      $view = $this->_new_password_form();      if ($view->content->validate()) { -      $user = user::lookyp_by_hash(Input::instance()->get("key")); +      $user = user::lookup_by_hash(Input::instance()->get("key"));        if (empty($user)) {          throw new Exception("@todo FORBIDDEN", 503);        } | 
