Hi,

I am using auth component for login, it is working fine when database
table columns are username and password if i use email as column name
even though i specified the fields as below in app_controller.php its
not working in beforeFilter() method.

$this->Auth->Fields = array('username' => 'email', 'password' =>
'password');


if i am renaming the column back and removing this line its working
fine..




Regards,
Anjith

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to