mirror of
https://github.com/pushbits/server.git
synced 2025-06-21 11:57:24 +02:00
Add option to check for weak passwords
This commit is contained in:
parent
ad56422838
commit
b06bd51d21
12 changed files with 141 additions and 15 deletions
|
@ -32,5 +32,5 @@ type Dispatcher interface {
|
|||
|
||||
// The CredentialsManager interface for updating credentials.
|
||||
type CredentialsManager interface {
|
||||
CreatePasswordHash(password string) []byte
|
||||
CreatePasswordHash(password string) ([]byte, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue