hi,
on http://api13.cakephp.org/class/auth-component:
# loginAction mixed
A URL (defined as a string or array) to the controller action that
handles logins.
This defaults to the users controller login action
Set it using $this->Auth->loginAction =
array('controller'=>'tests','action'=>'log
The thing that stands out immediately is that this controller doesn't
know its supposed to look at the table named users. From my
understanding of cake its going to be looking for a class and table
called Tests unless you make it use another table.
IE: $uses = array('User');
On Aug 26, 3:58 am
i have the following controller implementing auth:
redirect($this->Auth->logout());
}
function welcome(){
$this->autoRender = false;
echo 'welcome';
//print_r($_SESSION);
}
function allowed(){