diff --git a/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php b/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php index 200b6d3ee..15b220e64 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php +++ b/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php @@ -110,6 +110,9 @@ class AuthenticationFactory case 'api': $authObject = new API(); break; + case 'totp': + $authObject = new LocalTOTP(); + break; default: $authObject = null; }