mirror of
https://github.com/pushbits/server.git
synced 2025-05-09 23:17:00 +02:00
Remove in-code todos and create issues for them
This commit is contained in:
parent
f6ca287d0b
commit
0b871b2136
2 changed files with 0 additions and 4 deletions
|
@ -3,7 +3,6 @@ package credentials
|
|||
import "golang.org/x/crypto/bcrypt"
|
||||
|
||||
// CreatePassword returns a hashed version of the given password.
|
||||
// TODO: Make strength configurable.
|
||||
func CreatePassword(pw string) []byte {
|
||||
strength := 12
|
||||
hashedPassword, err := bcrypt.GenerateFromPassword([]byte(pw), strength)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue