login in CakePHP

 

 

use the Auth component on AppController after that use the given below method in beforeFilter method

Use the method on UserController.php

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *