Changelogs: AutoLogin v3.4
A new version of AutoLogin has been released, version 3.4. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.
Version: 3.4
Tested On: PHP 5.3, CakePHP 2.0.5
Requires: PHP 5.2, CakePHP 2.0
Commit Hash: 29d38c3970644239cdf7dfa560dca466aa57fd61
Changes:
- A boolean setting "active" can be toggled to force an early exit of the script
- A boolean setting "redirect" can force a redirect after a successful login
- A boolean setting "requirePrompt" allows you to determine whether a form checkbox is needed
- Fixed a bug where AutoLogin shouldn't be triggered for POST or PUT requests
- Moved $cookieName and $expires properties to $settings (backwards compatible support)
- Updated debug() to log to file if no debug email was defined
- Settings can now be defined dynamically via Configure::write('AutoLogin')
- Test cases have been added
Thanks to dereuromark for the new features and test cases! Be sure to also check out his blog post on the AutoLogin changes.