Skip to content

Releases: CakeDC/users

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

8.5.0

07 Oct 09:23
79602df
Compare
Choose a tag to compare
  • Added new UsersAuthComponent::EVENT_BEFORE_SOCIAL_LOGIN_REDIRECT
  • Added finder to get existing social account
  • Improved social login to updated social account when account already exists
  • Improved URLs in template to avoid issue in prefixed routes

8.4.0

13 Mar 12:18
3f817d9
Compare
Choose a tag to compare
  • Rehash password if needed on login

8.3.1

05 Mar 08:44
331f2d5
Compare
Choose a tag to compare
  • Fix authParams option not being parsed
  • Fix Social Login docs