mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #54145 from nextcloud/backport/54005/stable30
[stable30] fix: Do not show password dialog when user can not validate password
This commit is contained in:
commit
b4c82cdd75
1 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,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