cake-php@googlegroups.com
[Top] [All Lists]

Cake Auth userScope ?

Subject: Cake Auth userScope ?
From: heohni
Date: Sat, 14 Apr 2012 06:15:14 -0700 PDT
Hi,

if a user try to login and his account is not active yet the login will fail because of this:
'scope' => array('User.usr_active' => 1),

Is there anyhow a way to catch this case to display a proper message to the user?

Thanks for 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+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php
<Prev in Thread] Current Thread [Next in Thread>