Re: Auth Component CakePHP 2.0
It actually worked with 'fields'. thanks for your help :) -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Auth Component CakePHP 2.0
Hi Ahmed, thanks a lot for your help. My array looks like this now, but it doesn't work better. public $components = array( 'Acl', 'Auth' => array( 'authorize' => array( 'Actions' => array('actionPath' => 'controllers') ), 'authenticate ' => array( 'Form' => array( 'Fields' => array( 'username' => 'email_address', 'password' => 'password' ) ) ) ), 'Session' ); I'm still being kicked when I try to log in. -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Auth Component CakePHP 2.0
one more correction, it's authenticate not authentificate. good luck -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Auth Component CakePHP 2.0
Hello, you may try to "Fields" variable in Auth array. instead of : 'authentificate' => array( 'Form' => array( 'username' => 'email_address', 'password' => 'password' ) ) try this: 'authentificate' => array( 'Form' => array( 'Fields' => array( 'username' => 'email_address', 'password' => 'password' ) ) ) Thanks -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php