forked from 0x2620/pandora
always enable signing button in reset password dialog, fixes #597
This commit is contained in:
parent
84f67078c0
commit
748329f103
1 changed files with 1 additions and 0 deletions
|
@ -173,6 +173,7 @@ pandora.ui.accountForm = function(action, value) {
|
|||
pandora.api.requestToken(data, function(result) {
|
||||
if (!result.data.errors) {
|
||||
pandora.$ui.accountDialog.options(pandora.ui.accountDialogOptions('resetAndSignin', result.data.username));
|
||||
pandora.$ui.accountDialog.enableButtons();
|
||||
} else {
|
||||
pandora.$ui.accountDialog.enableButtons();
|
||||
callback([{id: 'usernameOrEmail', message: 'Unknown ' + (key == 'username' ? 'username' : 'e-mail address')}])
|
||||
|
|
Loading…
Reference in a new issue