diff --git a/src/Entity/UserSystem/User.php b/src/Entity/UserSystem/User.php index 1671c419..888dd7c9 100644 --- a/src/Entity/UserSystem/User.php +++ b/src/Entity/UserSystem/User.php @@ -853,6 +853,10 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe // return 'u2f_two_factor'; //} + if ($this->isWebAuthnAuthenticatorEnabled()) { + return 'webauthn_two_factor_provider'; + } + //Otherwise use other methods return null; }