I've seen several posts and articles with this type of thing in Users-
>login():
if($this->Auth->login()) {
$this->redirect($this->Auth->loginRedirect);
}else{
$this->data = null;
$this->set('error', $this->Auth->loginError);
}
Doesn't the Auth component do the above already? If so, what is the
advantage to doing this again in your controller login() method?
Thanks,
Jeremy
On Feb 22, 10:18 am, BlenderStyle <[EMAIL PROTECTED]> wrote:
> Okay, I'll be the first to mention. The title sucks, and this is in no
> way a step-by-step because I really don't explain much. Sorry about
> that.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---