mirror of
https://github.com/pushbits/server.git
synced 2025-08-03 08:39:09 +02:00
Fix linting errors
This commit is contained in:
parent
27c65921d9
commit
628d96bdb7
5 changed files with 6 additions and 10 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue