dhui / passhash

Go library providing simple and secure password management
Apache License 2.0
8 stars 4 forks source link

Cleanup Credential.Reset() #7

Closed dhui closed 6 years ago

dhui commented 6 years ago

Changes to make:

  1. Cleanup return values. Only return error instead of a bool and an error
  2. Rename Credential.Reset() to Credential.ChangePassword() since that's the functionality it's currently performing.
  3. Add a new Credential.Reset() that doesn't require the old password, to be used for password resets
dhui commented 6 years ago

Fixed in v0.2.0