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

Do not change existing hash password #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bartlaarhoven
Copy link

The original code changes the hash password in the account in case a different password is given than was stored in the account. I can't see why that would be useful as the entire use of a password is then gone. I changed the code to check whether a hash password in the account already exists. If it does NOT exist and we supply a new hash password, it is set to the given hash password.

The original code changes the hash password in the account in case a different password is given than was stored in the account. I can't see why that would be useful as the entire use of a password is then gone. I changed the code to check whether a hash password in the account  already exists. If it does NOT exist and we supply a new hash password, it is set to the given hash password.
@robert-bor
Copy link
Contributor

How would you be able to change the password if it is already set?

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

Successfully merging this pull request may close these issues.

2 participants