just extend the existing Auth Component
and override the method that is responsible for the login part
that's how i did it
On 5 Jun., 07:14, John Andersen wrote:
> Follow-up, on the second part of your question, displaying a specific
> message based on which criteria is not fulfilled!
> I don'
Follow-up, on the second part of your question, displaying a specific
message based on which criteria is not fulfilled!
I don't know, sorry for that!
John
On Jun 5, 8:12 am, John Andersen wrote:
> Having looked at the AuthComponent code, the answer is Yes!
> Your conditions in the userScope a
Having looked at the AuthComponent code, the answer is Yes!
Your conditions in the userScope attribute will be used as the
condition in a model->find method, when retrieving the user
information!
Enjoy,
John
On Jun 4, 7:50 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> When a user logs in I ch
When a user logs in I check
$this->Auth->userScope = array('User.confirmed' => '1');
so they have to have confirmed their account email sign up.
If not they simply can not login.
BUT
How can I display a specific message to the user explaining why they cannot
login? I will be adding to t