Drupal 7.34
Login Destination: 7.x-1.1+0-dev
Redirect 403 to User Login: 7.x-1.8+4-dev

I want to use Login Destination to redirect the user after login to the front page.
And I want to use "Redirect 403 to User Login" to have the possibility to use a link to any other internal page (a bookmark) without logging in at first.

"Redirect 403 to User Login" works well if I did not use the Login Destination Trigger "Login, registration, one-time login link". In this case Login Destination redirects directly to front page - it breaks the functionality from "Redirect 403 to User Login" to load the internal page after successful login.

Matroschker

Comments

joelpittet’s picture

It seems to work for me with that module. There is a

Preserve the destination parameter

setting in this module that seems to do what is need.

Maybe you can provide your destinations?

djpable’s picture

I confirm, this module doesn't work with r4032login module, even if "Preserve the destination parameter" is activated.

My redirect page is "admin" for users that can access to admin pages.

The result is that redirections without destination parameters doesn't happen.

ddrozdik’s picture

Assigned: Unassigned » ddrozdik
DieterHolvoet’s picture

Status: Active » Closed (works as designed)

Testing with the latest version of both modules, it does seem to work:

  • If you want login_destination to take priority, disable the Preserve the destination parameter option in login_destination settings
  • If you want r4032login to take priority, enable the Preserve the destination parameter option in login_destination settings and enable the Redirect user to the page they tried to access after login option in r4032login settings.