forked from GNUsocial/gnu-social
return after failed token
darcs-hash:20080829023731-84dde-8920bbaf1e1f171829d0acff3f89ec987deb6368.gz
This commit is contained in:
parent
1df845db78
commit
d146355875
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user