Re: unauthorizedRedirect problem

2014-09-03 Thread jvalecillos
I can confirm this error. It is even present in 2.5.4, but I check that this bug was introduced in 2.5.3 version. On Friday, 1 August 2014 06:26:58 UTC-4:30, Leandro Mouta wrote: > > The same in 2.5.3 =/ > I think the bug fixed was related with loginRedirect. > > If I remove the second paramet

Re: unauthorizedRedirect problem

2014-08-01 Thread Leandro Mouta
The same in 2.5.3 =/ I think the bug fixed was related with loginRedirect. If I remove the second parameter at the following line, it works. https://github.com/cakephp/cakephp/blob/master/lib/Cake/Controller/Component/AuthComponent.php#L415 But I think there is a reason for this parameter is true

Re: unauthorizedRedirect problem

2014-08-01 Thread José Lorenzo
I think that was a bug fixed in 2.5.3 On Friday, August 1, 2014 5:01:28 AM UTC+2, Leandro Mouta wrote: > > Hi, guys! > > I'm developing a little app with cake 2.5.2. After setup Auth component, > every time I try to access a unauthorized action typing the url in the > address bar, I'm redirected

unauthorizedRedirect problem

2014-08-01 Thread Leandro Mouta
Hi, guys! I'm developing a little app with cake 2.5.2. After setup Auth component, every time I try to access a unauthorized action typing the url in the address bar, I'm redirected to another url with duplicated cakephp folder. Example: localhost/cakephp/test (unauthorized) => localhost/cakep