From: Evan Prodromou Date: Fri, 29 Aug 2008 02:37:31 +0000 (-0400) Subject: return after failed token X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d146355875da9cf2a3f9390bb4601033b2ea2bc3;p=quix0rs-gnu-social.git return after failed token darcs-hash:20080829023731-84dde-8920bbaf1e1f171829d0acff3f89ec987deb6368.gz --- diff --git a/actions/password.php b/actions/password.php index 90e7db2664..23b95f7b68 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;