Saturday 23 June 2012

CAKEPHP Auth Component

This CAKEPHP  component gives user authentication and authorization in very simple manner.

Auth Component for Authentication.


This is very useful component for user authetication. This requires some configuration which can best done by setting AppController::beforeFilter(). Below line should be added in AppController: var $components = array('Acl', 'Auth'); To avoid error (Fatal error: Call to a member function check() on a non-object in /var/www/geoff/cake/cake/libs/controller/components/acl.php on line x, where x is line number) it should be noted down that Acl Component should add before Auth Component.

No comments:

Post a Comment