Hello

I'm having the same kind of problem.

I think it happens when you have a component that extends Component

the problem goes away when you have you components extend Object

any one would comment on this ?

TIA

thomas

On Jun 10, 4:41 pm, Marcelius <[EMAIL PROTECTED]> wrote:
> Hi
>
> Just upgraded to CakePHPRC1and after some minor fixes I found that I
> couldn't properly logout anymore. It caused the browser to 
> continouslyredirectto the originating url. I found that the problem lies in 
> the
> components used by my users controller:
>
> In UsersController:
> public function logout() {
>   $this->Auth->logout();
>   $this->redirect(array("controller"=>"users", "action"=>"login",
> "plugin"=>"nedcore"));
>
> }
>
> But instead of redirecting to "/users/login" the browser is redirected
> to "" which is the same as the original url, in my case "/users/
> logout".
>
> I have fixed this by adding the following method in all components
> used by the users controller:
>
> public function beforeRedirect(){
>   return null;
>
> }
>
> I don't know what the bug is exactly but I figured maybe someone else
> has the same problem...
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to