mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 07:39:23 -04:00
Merge pull request #50465 from nextcloud/zorn-v-patch-1
This commit is contained in:
commit
253a741013
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ class JSConfigHelper {
|
|||
|
||||
$backend = $this->currentUser->getBackend();
|
||||
if ($backend instanceof IPasswordConfirmationBackend) {
|
||||
$userBackendAllowsPasswordConfirmation = $backend->canConfirmPassword($uid);
|
||||
$userBackendAllowsPasswordConfirmation = $backend->canConfirmPassword($uid) && $this->canUserValidatePassword();
|
||||
} elseif (isset($this->excludedUserBackEnds[$this->currentUser->getBackendClassName()])) {
|
||||
$userBackendAllowsPasswordConfirmation = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue