Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

change password (automatically logout) #1281

Open
retrocoderss opened this issue Aug 25, 2017 · 2 comments
Open

change password (automatically logout) #1281

retrocoderss opened this issue Aug 25, 2017 · 2 comments

Comments

@retrocoderss
Copy link

help me please , when i am change passwod in bonfire automatically logout. i won't

@silverark
Copy link
Contributor

The password hash is used to generate a user_token for your login. If you change your password it invalidates the session. That is by design so the user has to log back in with their new password.

If you really want to keep the user logged in, you can log the user in again programmatically after the password change in the same method (since you have the new password at that point), or override the auth library and remove the password hash or user_token from it's session validation (not recommended!).

@retrocoderss
Copy link
Author

thanks bro .... its work

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

No branches or pull requests

2 participants