Merge pull request #2303 from nextcloud/password-check-improvements
small password check improvements
This commit is contained in:
commit
e3489d92fd
|
@ -1579,6 +1579,7 @@ OC.PasswordConfirmation = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error: function() {
|
error: function() {
|
||||||
|
OC.PasswordConfirmation.requirePasswordConfirmation(self.callback);
|
||||||
OC.Notification.showTemporary(t('core', 'Failed to authenticate, try again'));
|
OC.Notification.showTemporary(t('core', 'Failed to authenticate, try again'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -149,6 +149,7 @@ var OCdialogs = {
|
||||||
modal : modal,
|
modal : modal,
|
||||||
buttons : buttonlist
|
buttons : buttonlist
|
||||||
});
|
});
|
||||||
|
input.focus();
|
||||||
OCdialogs.dialogsCounter++;
|
OCdialogs.dialogsCounter++;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue