mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
fix aborted WebAuthn not treated as failure of 2nd factor, if registered
This commit is contained in:
parent
f67efb50ae
commit
3967d2a3b6
@ -795,7 +795,7 @@ class Session
|
||||
'remember_me_token' => $token,
|
||||
], [], true);
|
||||
|
||||
if (!count($factors) && (isset($errors['2fa_code']) ||
|
||||
if (!count($factors) && (count($errors) ||
|
||||
$GLOBALS['egw_info']['server']['2fa_required'] === 'strict'))
|
||||
{
|
||||
if (!empty($code) && isset($errors['2fa_code']))
|
||||
|
Loading…
Reference in New Issue
Block a user