Fix linting errors

This commit is contained in:
eikendev 2021-06-11 00:11:30 +02:00
parent 27c65921d9
commit 628d96bdb7
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
5 changed files with 6 additions and 10 deletions

View file

@ -14,7 +14,7 @@ func (m *Manager) CreatePasswordHash(password string) ([]byte, error) {
if err != nil {
return []byte{}, errors.New("HIBP is not available, please wait until service is available again")
} else if pwned {
return []byte{}, errors.New("Password is pwned, please choose another one")
return []byte{}, errors.New("password is pwned, please choose another one")
}
}