Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eruthuk opened this issue Nov 4, 2016 · 1 comment
Open

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

eruthuk opened this issue Nov 4, 2016 · 1 comment

Comments

@eruthuk
Copy link

eruthuk commented Nov 4, 2016

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

@Piedone
Copy link
Member

Piedone commented Nov 4, 2016

The module doesn't use the user's password to authenticate but directly signs it in. A password change shouldn't have any effect on the module. There's something else going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants