fixup! Use nextcloud-password-confirmation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
1cb5f316ed
commit
cddc6c0207
|
@ -1775,11 +1775,9 @@ OC.PasswordConfirmation = {
|
||||||
function (result, password) {
|
function (result, password) {
|
||||||
if (result && password !== '') {
|
if (result && password !== '') {
|
||||||
self._confirmPassword(password, config);
|
self._confirmPassword(password, config);
|
||||||
} else {
|
} else if (_.isFunction(rejectCallback)) {
|
||||||
if (rejectCallback && typeof rejectCallback === 'function') {
|
|
||||||
rejectCallback()
|
rejectCallback()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
true,
|
true,
|
||||||
config.label,
|
config.label,
|
||||||
|
|
Loading…
Reference in New Issue