Skip to content

Commit b4c82cd

Browse files
authored
Merge pull request #54145 from nextcloud/backport/54005/stable30
[stable30] fix: Do not show password dialog when user can not validate password
2 parents f5409c6 + 6ff15ef commit b4c82cd

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
@@ -67,6 +67,8 @@ public function getConfig(): string {
6767
$userBackendAllowsPasswordConfirmation = $backend->canConfirmPassword($uid) && $this->canUserValidatePassword();
6868
} elseif (isset($this->excludedUserBackEnds[$this->currentUser->getBackendClassName()])) {
6969
$userBackendAllowsPasswordConfirmation = false;
70+
} else {
71+
$userBackendAllowsPasswordConfirmation = $this->canUserValidatePassword();
7072
}
7173
} else {
7274
$uid = null;

0 commit comments

Comments
 (0)