Thursday, October 24, 2013

Auth component problem.

Hello there,

i have an issue with Auth.redirect  value.

on my local machine when i do in my view:

debug($this->Session->read('Auth.redirect'));

result is: 'users/register.html'

the same app on remote server gives me this output.  'users/register.html?url=users%2Fregister.html'

why is the ?url  part appended to the redirect value on remote server ? Does it have something to do with remote server config ?

i'm using latest CakePHP 2.4.2

many thank for your help.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: