X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpassword.php;h=23b95f7b68f4be6c4e600787e6a2ea53f9f6be38;hb=4272da4e9e2ab9c99b4b9897f04c92cd7987cb8b;hp=90e7db2664c631677812485d15a019db133c1376;hpb=ff566a149d59ac7f78899911ca892b0193b0888b;p=quix0rs-gnu-social.git 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;