nvm. I found what I did wrong.
I forgot to allow 'logout'. Also, for my ACL tables, it let admin to do anything, whereas other users were limited. Problem solved :) On May 18, 6:17 am, Brian Lee <brianleeu...@gmail.com> wrote: > Hello, > > I have a debug code that prints out values of > $this->Auth->user('id') > $this->Auth->user('name') > inside a controller's beforeRender(). > > When I login, it shows that I'm logged in as a person. > However, when I logout, it shows that I'm still logged in as the > person I was logged in. > > This only happens with users who are not in the admin group. > > I think I'm making very novice mistake here with login/out > implementation. > Can someone help me or suggest what could have gone wrong in my > implementation? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---