Re: login/logout Issue with acl tutorial

2011-01-20 Thread andy_the ultimate baker
hi, to go back to login page after logoutt all u need to sett that logoutt redirect action. like bellow function logout() { $this->Session->setFlash('You have successfully logged out'); $this->Auth->logout(); $this->redirect(array('action'=>'login')); //$thi

Re: login/logout Issue with acl tutorial

2011-01-19 Thread opike
Sorry, this is a duplicate post. Since it took 4 hours for my original post to show up I wasn't sure if I had submitted it properly. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help othe

login/logout Issue with acl tutorial

2011-01-19 Thread opike
I just impleted the acl tutorial: http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application and I did the following to test it out. Logged in with user1 (member of the administrator group). Fine. Logged out by issuing the url http://localhost/cake/app/users/logout. Fine. Logged in with u