Redirect after login does not work

Created on 13 November 2023, 11 months ago

Problem/Motivation

If login form is enabled for anonymous users, and the user logs in, the user should be redirected to the page they originally tried to access. This does to happen.

Steps to reproduce

  1. Set up the module to have the login form is enabled for anonymous users.
  2. As the anonymous user, try to access the /admin area.
  3. Log in as an administrator.
  4. Observe that no redirection takes place.

Proposed resolution

Examine function _customerror_login_submit() in customerror.module to find out what goes wrong.

Fix it.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇳🇴Norway gisle Norway

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024