(auth) add totp keyword to auth factory, https://github.com/opnsense/core/issues/449

This commit is contained in:
Ad Schellevis 2016-05-15 13:19:19 +02:00
parent a35b145398
commit e02b08bacd

View File

@ -110,6 +110,9 @@ class AuthenticationFactory
case 'api':
$authObject = new API();
break;
case 'totp':
$authObject = new LocalTOTP();
break;
default:
$authObject = null;
}