Redirect to previous URL - duplicate response
once the user clicks the link to the restricted page they are directed to login. After login I go to the users_Profile.php page with the protected page link. Clicking the protected page only takes me to the protected_Page.php page that says I'm logged in and that my email is verified. Nothing else happens and I am not redirected.
lines 67 -69 and 87-89 on users_LogIn.php reads:
"successRedirect" => "users_Profile.php",
"failRedirect" => "users_LogIn.php?failed=1",
"gotoPreviousURL" => TRUE,
So yes, it does have code "gotoPreviousURL" as true but prior to that is the successRedirect. I need a dynamic redirect that will take the user back to whatever page they wanted to access so redirecting to a specific page won't work for me in this case. I'd like "success Redirect" => go to PreviousURL so that after login user is directed back to page they were trying to access.
Also I don't own Security Assist.