Security Provider Enforcer: Redirect after Login to reffering url

Hi,
I have the following scenario where I am struggling with step 3:

  1. I send an email to a user that includes a link:mywebsite.com/secure_page.php?image=3
  2. Once the user goes to the page, he is redirected to the login page (I am successfully using the Security Provider Enforcer for this)
  3. I want the user to be redirected after login to the initial page he was visiting i.e. /secure_page.php?image=3

How can I do step 3?

Community Page
Last updated: