Re: a simple problem-pls help

2010-09-06 Thread Maurits van der Schee
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

Re: a simple problem-pls help

2010-08-27 Thread Anthony
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

a simple problem-pls help

2010-08-26 Thread cake fan
i have the following controller implementing auth: redirect($this->Auth->logout()); } function welcome(){ $this->autoRender = false; echo 'welcome'; //print_r($_SESSION); } function allowed(){