Problem/Motivation

Guardian forces users to log out after a period of inactivity. This process is skipped when resetting the password, for example using drush uli or a one-time login URL. However, this is implemented as a path check instead of the route.

As a result, using drush uli after a period of inactivity does not log you in correctly on projects using a language prefix.

Steps to reproduce

  1. Install a configurable language Dutch and set a language prefix 'nl'
  2. Try and login using drush uli after a period of inactivity that would log you out

Proposed resolution

Do not logout when resetting password on projects with a language prefix

Remaining tasks

  1. Write a merge request
  2. Review
  3. Commit

User interface changes

None

API changes

None

Data model changes

None

Issue fork guardian-3615825

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

idebr created an issue. See original summary.

amangupta’s picture

Assigned: Unassigned » amangupta

working on it

amangupta’s picture

Assigned: amangupta » Unassigned
Status: Active » Needs review

idebr changed the visibility of the branch 3615825-do-not-logout to hidden.

  • idebr committed 716ba583 on 2.x
    task: #3615825 Do not logout when resetting password on projects with a...
idebr’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.