Auth redirect - error

2013-07-12 Thread Allan Diego
Hello, I have a redirection problem after upgrade to 2.3.7 accessing: *http://www.mysite.com/test/users/login* = logging in, I am directed to *http://www.mysite.com/teste/http://www.site.com.br/teste/ * (thats ok) but accessing:

Re: Auth redirect - error

2013-07-12 Thread euromark
unrelated but why $this-redirect('/', null, false); ? it should be just $this-redirect('/'); to properly exit on redirect Am Freitag, 12. Juli 2013 14:14:02 UTC+2 schrieb Allan Diego: Hello, I have a redirection problem after upgrade to 2.3.7 accessing:

Re: Auth redirect - error

2013-07-12 Thread Allan Diego
I have followed cook book http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/part-two.html Controller::redirect(*mixed $url*, *integer $status*, *boolean $exit*) If a user is already logged in, redirect him by adding this to your UsersController: public

Re: Auth redirect - error

2013-07-12 Thread euromark
thx, fixed that. shouldnt have been false in the first place ;) I think this is the ticket to the issue - for reference: https://cakephp.lighthouseapp.com/projects/42648/tickets/3916-fail-to-redirct-in-237 Am Freitag, 12. Juli 2013 17:38:14 UTC+2 schrieb Allan Diego: I have followed cook