Destination is lost after user logs in

Created on 26 January 2023, about 2 years ago
Updated 19 May 2024, 10 months ago

Problem/Motivation

If the user clicks on/users a link for a page that they don't have access too unless they login, they are presented the login page, then the terms of service (legal) page, but then they are rerouted back to the home page.

So, ultimately, a user clicks on a link like https://example.com/this/page, but then, after logging in, is sent to https://example.com

Steps to reproduce

Install the legal module.
In the configuration, under "Display Style Login", set it to "HTML Text".
Attempt to access a page that you would need to be logged in for, login, and see that you're sent back to the home page

Proposed resolution

Ideally, when the site redirects them to the terms of service (legal) agreement page, it preserves the originally intended path through with the destination query parameter

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Postponed: needs info

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States UnsettlingTrend

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

Comments & Activities

Production build 0.71.5 2024