Skip to content

Commit

Permalink
Merge pull request #1076 from skie/13.next-cake4
Browse files Browse the repository at this point in the history
load default 2fa authenticators
  • Loading branch information
skie authored Mar 11, 2024
2 parents b134f17 + 36a3bec commit 3ae0426
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ Releases for CakePHP 4.5
* 13.0.0
* Set dependecy for CakeDC/Auth to 9.0. Perform 2FA refactoring,

* 11.3.5
* Update ci.yml with php8.2 and php8.3
* fix: minor fix on last_login datetime format
* Update Permissions.md
* fix: config for updateLastLogin
* fix: remove deprecated code on profile logic
* feat:flash message on login, on cake4

* 11.3.4
* Fix `Detected invalid UTF-8 for field...` issue when storing session data from `Webauthn` in a mongo database.

Expand Down
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 3ae0426

Please sign in to comment.