Redirect to the page they tried to access after login is not working / destination is not set

Created on 28 June 2022, about 2 years ago
Updated 14 February 2023, over 1 year ago

Problem/Motivation

If "Redirect anonymous users to the page they tried to access after login" on /admin/config/system/r4032login/settings/anonymous is active and no overwriting parameter is set, the destination parameter will not be set.
If you chose an overwriting parameter, the parameter is set correct. But will not work because it's the wrong for drupal.

Steps to reproduce

  • Activate on /admin/config/system/r4032login/settings/anonymous the checkbox "Redirect anonymous users to the page they tried to access after login"
  • don't set a overwriting parameter

maybe important the site uses 1:1 translation with a specifiic url per language eg. https://germansite.de and https://englishsite.com

πŸ› Bug report
Status

Closed: outdated

Version

2.2

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland hilletob Luzern

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ͺπŸ‡ΉEthiopia woldeamanual

    Removing the destination_parameter_override field from the anonymous settings form and the conditional statement for overriding the R4032LoginSubscriber Event Subscriber will solve the issue. Below is the patch file.

  • Status changed to Closed: outdated over 1 year ago
  • πŸ‡¨πŸ‡­Switzerland hilletob Luzern
Production build 0.69.0 2024