docs(web/auth): PasswordHashCost

This commit is contained in:
Geno 2021-09-11 11:15:38 +02:00
parent 2fcb2d7cb4
commit e18eddfdda
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import (
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
) )
// PasswordHashCost - to set global, for more speed or security
var PasswordHashCost = bcrypt.DefaultCost var PasswordHashCost = bcrypt.DefaultCost
// HashPassword - create new hash of password // HashPassword - create new hash of password