mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #54147 from nextcloud/backport/54005/stable31
[stable31] fix: Do not show password dialog when user can not validate password
This commit is contained in:
commit
023084e4db
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,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