For #2 in my login function I have
if ($this->Auth->user('confirmed') == '0') {
$this->Session->destroy();
$this->redirect(array('controller' => 'registrations',
'action' => 'pending_email_confirmation'));
}
Dave
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Simon
Sent: November-02-09 6:49 PM
To: CakePHP
Subject: Two Auth problems never found sloutions for it
1. is save the last login without the auth redirect = to false 2. if the
email is not verified redirect them
if you have any sloutions please share
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---