mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user