We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af00132 + fb9e36e commit cdc308cCopy full SHA for cdc308c
lib/private/Template/JSConfigHelper.php
@@ -86,7 +86,7 @@ public function getConfig(): string {
86
87
$backend = $this->currentUser->getBackend();
88
if ($backend instanceof IPasswordConfirmationBackend) {
89
- $userBackendAllowsPasswordConfirmation = $backend->canConfirmPassword($uid);
+ $userBackendAllowsPasswordConfirmation = $backend->canConfirmPassword($uid) && $this->canUserValidatePassword();
90
} elseif (isset($this->excludedUserBackEnds[$this->currentUser->getBackendClassName()])) {
91
$userBackendAllowsPasswordConfirmation = false;
92
}
0 commit comments