From 6d602d56c792614fd254ec8a045964362a706450 Mon Sep 17 00:00:00 2001 From: Evgeny Tomenko Date: Tue, 12 Mar 2024 00:56:23 +0300 Subject: [PATCH 1/2] Update CHANGELOG.md --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd67206d1..b2640dfc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ Changelog ========= Releases for CakePHP 4.5 ------------------------ +* 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. From 36a3bec867ce28dd8c5e1a52658dc63cfca1093c Mon Sep 17 00:00:00 2001 From: Yevgeny Tomenko Date: Tue, 12 Mar 2024 01:01:32 +0300 Subject: [PATCH 2/2] load default 2fa authenticators --- config/users.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/users.php b/config/users.php index 17bcb28d9..0dc308026 100644 --- a/config/users.php +++ b/config/users.php @@ -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' => [