diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-07-13 16:27:55 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-28 15:26:25 +0300 |
commit | 702445ba3b454f14085710617ec09ce2134a56dc (patch) | |
tree | 37bb7fd9841369598657a67fe99075bb0bd225df /lib/private | |
parent | 22de24324728025c5299850317fc697b33375caf (diff) |
Handle one time password betterfix/handle-one-time-passwords
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Authentication/Token/PublicKeyTokenProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php index 96bf9a86087..26928025b23 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php +++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php @@ -401,7 +401,7 @@ class PublicKeyTokenProvider implements IProvider { $this->cache->clear(); // prevent setting an empty pw as result of pw-less-login - if ($password === '') { + if ($password === '' || !$this->config->getSystemValueBool('auth.storeCryptedPassword', true)) { return; } |