Skip to content

Releases: CakeDC/users

11.1.0

11 Mar 13:48
Compare
Choose a tag to compare
  • German (de) by @LordSimal
  • Fixed labels not using the right translation domain

11.0.0

10 Feb 12:08
Compare
Choose a tag to compare

Added support to CakePHP 4.3

  • Switched tests to new cakephp schema
  • Update to PHPUnit 9.5

9.3.0

21 Dec 11:18
d6b45a1
Compare
Choose a tag to compare

Added support to webauthn as Two-Factor Authentication

'Webauthn2fa' => [
        'enabled' => false,
        'appName' => null,//App must set a valid name here
        'id' => null,//default value is the current domain
        'checker' => \CakeDC\Auth\Authentication\DefaultWebauthn2fAuthenticationChecker::class,
    ],

NOTE: Webauthn also works with U2F yubico key devices.

9.2.1

25 Jun 11:43
Compare
Choose a tag to compare
  • Fixed the Entity is new on Change Password

9.2.0

14 Feb 01:53
434e274
Compare
Choose a tag to compare
  • Switch to github actions
  • New event AfterEmailTokenValidation
  • Remove deprecations

9.0.4

16 Oct 10:02
Compare
Choose a tag to compare
  • Fixed deprecations and stan issues
  • Improved docs
  • Fixed issue where RememberMe cookie
  • Fixed deprecated UserHelper::isAuthorized

9.0.3

06 Jul 13:37
06a0598
Compare
Choose a tag to compare
  • Ukrainian (uk) by @yarkm13
  • Docs improvements
  • Fix DebugKit permissions issues

9.0.2

04 Mar 11:37
Compare
Choose a tag to compare

This release provides improvements for authorization behavior:

  • Added a custom Unauthorized Handler
    • If logged user access unauthorized url he is redirected to referer url or '/' if no referer url
    • If not logged user access unauthorized url he is redirected to configured url (default to login)
    • on login we only use the redirect url from querystring 'redirect' if user can access the target url
    • App can configure a callable for 'url' option to define a custom logic to retrieve the url for unauthorized redirect
  • Added postLink method to AuthLinkHelper
  • UserHelper::welcome now works with request's attribute 'identity'

9.0.1

04 Feb 11:24
Compare
Choose a tag to compare

The 9.0 version uses the new plugins cakephp/authentication(read more) and cakephp/authorization(read more) instead of CakePHP
Authentication component. This version is compatible with CakePHP 4.x and the plugin
code was updated to remove all deprecations.

Improvements and Changes

  • Migration to CakePHP 4
  • Improved routes
  • Improved integration tests
  • Compatible with cakephp/authentication
  • Compatible with cakephp/authorization
  • Added/removed/changed some configurations to work with new authentication/authorization plugins, please check Migration guide for more info.
  • Events constants were moved/removed from AuthComponent to Plugin class and their values was also updated, please check Migration guide for more info.
  • Migrated usage of AuthComponent to Authorization/Authentication plugins.

8.5.1

07 Oct 17:20
04c543e
Compare
Choose a tag to compare
  • Added new event UsersAuthComponent::EVENT_SOCIAL_LOGIN_EXISTING_ACCOUNT