summaryrefslogtreecommitdiff
path: root/modules/user/controllers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-06-06 15:24:49 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-06-06 15:24:49 -0700
commitb9ee6f7d185c734dcff595d06d9c6e6fda5822ac (patch)
tree4cc37bde852469449afd0989bfceeeddac84a200 /modules/user/controllers
parent0e415dae9b29d792f631d3b94349086b8094c920 (diff)
parentb179b106c2b4d3971498f513ffc71eff1b6b1a5d (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/user/controllers')
-rw-r--r--modules/user/controllers/password.php4
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();