Skip to content

Commit

Permalink
load default 2fa authenticators
Browse files Browse the repository at this point in the history
  • Loading branch information
skie committed Mar 11, 2024
1 parent aaa4f1e commit 36a3bec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
'id' => null,//default value is the current domain
'checker' => \CakeDC\Auth\Authentication\DefaultWebauthn2fAuthenticationChecker::class,
],
'TwoFactorProcessors' => [
\CakeDC\Auth\Authentication\TwoFactorProcessor\Webauthn2faProcessor::class,
\CakeDC\Auth\Authentication\TwoFactorProcessor\OneTimePasswordProcessor::class,
],
// default configuration used to auto-load the Auth Component, override to change the way Auth works
'Auth' => [
'Authentication' => [
Expand Down

0 comments on commit 36a3bec

Please sign in to comment.