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
pull/54160/head
Daniel Calviño Sánchez 2025-07-29 17:54:46 +07:00 committed by GitHub
commit b9ab00a59e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;