summaryrefslogtreecommitdiff
path: root/actions/password.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-28 22:37:31 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-28 22:37:31 -0400
commitd146355875da9cf2a3f9390bb4601033b2ea2bc3 (patch)
treed77ef0739720e94274aba2779971899c7ce4d67b /actions/password.php
parent1df845db78007def800e6018be9fe89ab8be57d5 (diff)
return after failed token
darcs-hash:20080829023731-84dde-8920bbaf1e1f171829d0acff3f89ec987deb6368.gz
Diffstat (limited to 'actions/password.php')
-rw-r--r--actions/password.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/password.php b/actions/password.php
index 90e7db266..23b95f7b6 100644
--- a/actions/password.php
+++ b/actions/password.php
@@ -62,6 +62,7 @@ class PasswordAction extends SettingsAction {
if (!$token || $token != common_session_token()) {
$this->show_form(_('There was a problem with your session token. Try again, please.'));
+ return;
} else if (0 != strcmp($newpassword, $confirm)) {
$this->show_form(_('Passwords don\'t match.'));
return;