Skip to content

Do not change existing hash password#122

Open
bartlaarhoven wants to merge 1 commit into
javaswift:masterfrom
bartlaarhoven:patch-1
Open

Do not change existing hash password#122
bartlaarhoven wants to merge 1 commit into
javaswift:masterfrom
bartlaarhoven:patch-1

Conversation

@bartlaarhoven
Copy link
Copy Markdown

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
Copy Markdown
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