Hi all, My user table/model has a state_id field. I'd like to configure Auth so that it only lets people login is the state is a certain value. Is there an easy way to do this?
Two lines in auth.php suggest it should be possible 38: $conditions = $this->userScope; // (previously $conditions is a null parameter) 77: $data = $model->find(array_merge($find, $conditions), null, null, -1); If I could work out how to pass a condition in that would do the job. Has anyone done it? Thanks Tim --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
