Hi, I'm facing a little issues regarding the login with SonataPageBundle :

When the user is on a url like : http://mywebsite.com/Site2/Stuff

and click on a link that require the user to be authenticated (eg : 
http://mywebsite.com/Site2/Stuff/Authenticated) , symfony redirect the user 
to 

http://mywebsite.com/login

but once the user have been successfully loged, its reroute him to

http://mywebsite.com/Stuff/Authenticated

and is not in the 'Site2' anymore, which display a non existing page.

Is there a way to make symfony keep the current site while login ? (eg: 
 http://mywebsite.com/Site2/login,  http://mywebsite.com/Site3/login), or 
at least redirect to the complete previous URL once logged ? I have to 
mention that I have multiple different Site.

I'm am using the 'host_with_path' sonataPageBundle's strategy for my 
multisite.

Thanks you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"sonata-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sonata-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to