If I just use $this->Auth->login() the login fails.  I think it's
because I'm using only a passcode to log users in rather than a
username/password combo.  The login form only has a passcode field, no
username is involved in the authentication process.  I'm not sure how
to get the Auth->login() method to work without passing it my form
data.  However if I do a $this->User->findby...() to load the user
from the DB 1st, then pass that user data to the login() method it
works.

Geoff, good idea about unsetting the important stuff like the
passcode.  I'll implement this right away.  You're right all I really
need is the user ID, as I can make any calls I need from there using
the id.

Thanks everyone who's contributed!

-- 
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