I would you like to redirect the user to the page he came from (from within the site) after he logs in? It's possible? I am using the USER Plugin
If you're using the session component and you don't specify the redirect property explicitly that should be the default behaviour.
Thank you, Luke
Is there a session where I can assign the url value to which I want to redirect the user?
The problem is this: The user made a comment on a page through a component.
When the visitor submits the comment I check in the component if he is logged in, if yes the registration is done, if not he is redirected to the login page.
I save his comment data in a session to register after login.
All of this is working perfectly. The only thing I can't do is make the user go back to the comment page after login.
I've been reading that laravel uses the section url.intended to store the url.
I created this session with a:
But redirection after login does not work.
The plugin settings on the login page are as follows:
[account] paramCode = "code" forceSecure = 0 requirePassword = 0 [sociallogin]
1-4 of 4