Skip to content

Commit 023084e

Browse files
authored
Merge pull request #54147 from nextcloud/backport/54005/stable31
[stable31] fix: Do not show password dialog when user can not validate password
2 parents 6865f39 + aa4e7f9 commit 023084e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/private/Template/JSConfigHelper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ public function getConfig(): string {
6969
$userBackendAllowsPasswordConfirmation = $backend->canConfirmPassword($uid) && $this->canUserValidatePassword();
7070
} elseif (isset($this->excludedUserBackEnds[$this->currentUser->getBackendClassName()])) {
7171
$userBackendAllowsPasswordConfirmation = false;
72+
} else {
73+
$userBackendAllowsPasswordConfirmation = $this->canUserValidatePassword();
7274
}
7375
} else {
7476
$uid = null;

0 commit comments

Comments
 (0)