Merge pull request #2303 from nextcloud/password-check-improvements

small password check improvements
This commit is contained in:
Morris Jobke 2016-11-24 13:30:11 +01:00 committed by GitHub
commit e3489d92fd
2 changed files with 2 additions and 0 deletions

View File

@ -1579,6 +1579,7 @@ OC.PasswordConfirmation = {
}
},
error: function() {
OC.PasswordConfirmation.requirePasswordConfirmation(self.callback);
OC.Notification.showTemporary(t('core', 'Failed to authenticate, try again'));
}
});

View File

@ -149,6 +149,7 @@ var OCdialogs = {
modal : modal,
buttons : buttonlist
});
input.focus();
OCdialogs.dialogsCounter++;
});
},