mirror of
https://github.com/nextcloud/server.git
synced 2026-03-24 11:24:37 -04:00
Merge pull request #54005 from nextcloud/do-not-show-password-dialog-when-user-can-not-validate-password
fix: Do not show password dialog when user can not validate password
This commit is contained in:
commit
b9ab00a59e
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ class JSConfigHelper {
|
|||
$userBackendAllowsPasswordConfirmation = $backend->canConfirmPassword($uid) && $this->canUserValidatePassword();
|
||||
} elseif (isset($this->excludedUserBackEnds[$this->currentUser->getBackendClassName()])) {
|
||||
$userBackendAllowsPasswordConfirmation = false;
|
||||
} else {
|
||||
$userBackendAllowsPasswordConfirmation = $this->canUserValidatePassword();
|
||||
}
|
||||
} else {
|
||||
$uid = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue