|
|
|
|
|
by asdfasdfasjkl
3979 days ago
|
|
// VerifyPassword checks if password is valid and upgrades it if its encrypting scheme was outdated
// Returns isValid, wasUpdated, error func (a *Account) VerifyPassword(password string) (bool, bool, error) { this is why we need sum types people |
|