summaryrefslogtreecommitdiff
path: root/actions/password.php
diff options
context:
space:
mode:
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;