Re: $this->Auth->userScope

2011-03-08 Thread Stephen
ve added the following in my app_controller > > function beforeFilter() { >$this->Auth->userScope = array('User.active' => 1); > >} > > and the following in my login function under my users_controller > > function login() { > >

$this->Auth->userScope

2011-03-08 Thread DerekGardiner
In an effort to make sure that only active users can log into the application I've added the following in my app_controller function beforeFilter() { $this->Auth->userScope = array('User.active' => 1); } and the following in my login function under my us