CakePHP Authentication 1.2.0
Deprecations
- Setting the
unauthenticatedRedirect,queryParamandidentityAttributeoptions onAuthenticationMiddlewareis deprecated. These options should now be set on the service.
New Features
- The
unauthenticatedRedirect, andqueryParamoptions can now be configured on theAuthenticationService. This makes it easier to useRouterto generate the redirect URL.
Other Changes
To fix a potential session fixation problem in the SessionAuthenticator without impacting SecurityComponent identity information is now persisted to the session after the controller action is complete. If your application accesses the currently logged in identity through the session directly you will get information from the previous request. You should consider updating your code to use $request->getAttribute('identity') instead.