diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-06-06 15:24:49 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-06-06 15:24:49 -0700 |
commit | b9ee6f7d185c734dcff595d06d9c6e6fda5822ac (patch) | |
tree | 4cc37bde852469449afd0989bfceeeddac84a200 /modules/user/controllers | |
parent | 0e415dae9b29d792f631d3b94349086b8094c920 (diff) | |
parent | b179b106c2b4d3971498f513ffc71eff1b6b1a5d (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/user/controllers')
-rw-r--r-- | modules/user/controllers/password.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/controllers/password.php b/modules/user/controllers/password.php index 3b0eac66..2dde11b8 100644 --- a/modules/user/controllers/password.php +++ b/modules/user/controllers/password.php @@ -19,9 +19,9 @@ */ class Password_Controller extends Controller { public function reset() { - access::verify_csrf(); - if (request::method() == "post") { + // @todo separate the post from get parts of this function + access::verify_csrf(); $this->_send_reset(); } else { print $this->_reset_form(); |