Thursday, January 20, 2011

Re: login/logout Issue with acl tutorial

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'));
//$this->redirect($this->Auth->logout());
}

i hope this will work for u.

On Jan 20, 2:03 am, opike <hastapast...@gmail.com> wrote:
> 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 others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate