docs(web/auth): PasswordHashCost
This commit is contained in:
parent
2fcb2d7cb4
commit
e18eddfdda
|
@ -4,6 +4,7 @@ import (
|
|||
"golang.org/x/crypto/bcrypt"
|
||||
)
|
||||
|
||||
// PasswordHashCost - to set global, for more speed or security
|
||||
var PasswordHashCost = bcrypt.DefaultCost
|
||||
|
||||
// HashPassword - create new hash of password
|
||||
|
|
Loading…
Reference in New Issue