> i changed the form fields to username and password. could it be possible
> that may not use usr and pwd?
It does not explicitly state this in the 2.0 documentation, but
'username' and 'password' have always been the default auth fields.
This is inferred by the fact the param keys are called 'username' and
'password'.
> 'fields' => array('username' => 'User.username', 'password' =>
> 'User.password')
The bit I don't understand is that the your example code (above) seems
to set these fields to their default anyway (you don;t need to specify
the model when setting these as that is controlled by Auth-
>userModel), so not sure how this is helping you if you're trying to
use 'usr' and 'pwd'
HTH, Paul.
--
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