diff --git a/web/auth/lib_password.go b/web/auth/lib_password.go index fab702f..f364b92 100644 --- a/web/auth/lib_password.go +++ b/web/auth/lib_password.go @@ -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