mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
(auth) add totp keyword to auth factory, https://github.com/opnsense/core/issues/449
This commit is contained in:
parent
a35b145398
commit
e02b08bacd
@ -110,6 +110,9 @@ class AuthenticationFactory
|
||||
case 'api':
|
||||
$authObject = new API();
|
||||
break;
|
||||
case 'totp':
|
||||
$authObject = new LocalTOTP();
|
||||
break;
|
||||
default:
|
||||
$authObject = null;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user