]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
return after failed token
authorEvan Prodromou <evan@prodromou.name>
Fri, 29 Aug 2008 02:37:31 +0000 (22:37 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 29 Aug 2008 02:37:31 +0000 (22:37 -0400)
darcs-hash:20080829023731-84dde-8920bbaf1e1f171829d0acff3f89ec987deb6368.gz

actions/password.php

index 90e7db2664c631677812485d15a019db133c1376..23b95f7b68f4be6c4e600787e6a2ea53f9f6be38 100644 (file)
@@ -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;