Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Can't login after changing the password. #12

Closed
strebl opened this issue Sep 22, 2015 · 1 comment
Closed

Can't login after changing the password. #12

strebl opened this issue Sep 22, 2015 · 1 comment
Labels

Comments

@strebl
Copy link
Member

strebl commented Sep 22, 2015

If I change the password of an user after he is the database, I can't login again.

My Test Scenario:

  1. Login with 'testuser', 'oldPassword' -> works
  2. Logout
  3. Change password via Active Directory of user 'testuser' to 'newPassword'
  4. Login with 'testuser', 'newPassword' <-- fails
  5. Login with 'testuser', 'oldPassword' <-- fails

Did I miss something?

@stevebauman
Copy link
Member

This is due to the password only being changed on profile creation: https://github.com/Adldap2/Adldap2-laravel/blob/master/src/AdldapAuthUserProvider.php#L107

Fixing now, thanks!

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

No branches or pull requests

2 participants