fixup! Use nextcloud-password-confirmation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
1cb5f316ed
commit
cddc6c0207
1 changed files with 2 additions and 4 deletions
|
@ -1775,10 +1775,8 @@ OC.PasswordConfirmation = {
|
|||
function (result, password) {
|
||||
if (result && password !== '') {
|
||||
self._confirmPassword(password, config);
|
||||
} else {
|
||||
if (rejectCallback && typeof rejectCallback === 'function') {
|
||||
rejectCallback()
|
||||
}
|
||||
} else if (_.isFunction(rejectCallback)) {
|
||||
rejectCallback()
|
||||
}
|
||||
},
|
||||
true,
|
||||
|
|
Loading…
Reference in a new issue