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:
John Molakvoæ 2025-07-29 21:36:56 +02:00 committed by GitHub
commit 023084e4db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;