We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents efc4804 + f05cd64 commit 7bb91f1Copy full SHA for 7bb91f1
settings/js/users/users.js
@@ -668,7 +668,9 @@ $(document).ready(function () {
668
OC.generateUrl('/settings/users/changepassword'),
669
{username: uid, password: $(this).val(), recoveryPassword: recoveryPasswordVal},
670
function (result) {
671
- if (result.status != 'success') {
+ if (result.status === 'success') {
672
+ OC.Notification.showTemporary(t('admin', 'Password successfully changed'));
673
+ } else {
674
OC.Notification.showTemporary(t('admin', result.data.message));
675
}
676
0 commit comments