Skip to content

v1.2.0

Latest

Choose a tag to compare

@brammo brammo released this 23 May 15:08

Added

  • Auth.Messages.enumerateAccounts config to disable status-specific login error messages
  • Auth.Authentication.rememberMeField config for cookie "remember me" checkbox (default: remember_me)
  • Auth.Authentication.sessionKey config option to customize the session key (default: Auth)
  • Auth.Authentication.cookieName config option to customize the remember-me cookie name (default: CookieAuth)
  • Auth.Authentication.rehashPasswords config option to control password rehashing on login
  • User::isStatusNew() status helper (not isNew() — conflicts with Entity::isNew())
  • Bulgarian locale file for plugin template domain brammo_auth
  • docs/I18N.md with translation extraction instructions

Changed

  • Login template strings use __d('brammo_auth', …) domain
  • name field is optional on create (matches database schema)
  • Entity password hashing uses Auth.Authentication.passwordHasher configuration
  • Password rehashing disabled by default (Auth.Authentication.rehashPasswords defaults to false)
  • Minimum PHP version 8.2 (was 8.1)
  • Minimum CakePHP version 5.3 (was 5.0)
  • Minimum cakephp/migrations version 5.0 (was 4.0)

Fixed

  • Duplicate flash render call on login template
  • PHPStan level 8 compliance for UsersTable PHPDoc
  • PHPStan and Psalm errors