Skip to content

Unable to use this if a user has changed their password #2

@eruthuk

Description

@eruthuk

The scenario.
An new orchard user is created and various other set up done.

As part of a peer review, a user with admin rights will go into the orchard dashboard, go to users, and log in as them to check that things look right before the new orchard user is allowed to use the system.

The new orchard user either forgets their password/decides to change it, they carry on using the site as normal.

However, the user with admin rights goes in at somepoint to check on things, and wants to log in as our new user and can't because their password has been changed.

*

I've stepped through the code - in this scenario, it looks like the user is found in the Admin controller, but appears to not authenticate properly - I'm not sure why this is, but they get redirected to the accessdenied method of the users controller, and that fails to authenticate the user and redirect them to the home page.

Help! This is an issue for us

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions