From e18eddfdda50b31c1d3d23b506c9ff60bf5d30c4 Mon Sep 17 00:00:00 2001 From: Geno Date: Sat, 11 Sep 2021 11:15:38 +0200 Subject: [PATCH] docs(web/auth): PasswordHashCost --- web/auth/lib_password.go | 1 + 1 file changed, 1 insertion(+) 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