Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -66,12 +66,19 @@ abstract class MFAHandler
|
||||
*/
|
||||
public static function handlers(): array
|
||||
{
|
||||
return array(
|
||||
$return = array(
|
||||
'authy' => new Authy\Handler(),
|
||||
'google' => new GoogleAuthenticator\Handler(),
|
||||
'questions' => new SecurityQuestions\Handler(),
|
||||
'verify' => new Handler()
|
||||
);
|
||||
|
||||
foreach( Application::allExtensions( 'core', 'MFAHandler', null, 'core' ) as $ext )
|
||||
{
|
||||
$return[ $ext::$key ] = $ext;
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user