lowered auth record bcrypt round factor to 12

This commit is contained in:
Gani Georgiev
2023-03-13 15:52:51 +02:00
parent f180af7af7
commit 3eb3d0bbdf
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -864,7 +864,7 @@ func (m *Record) SetPassword(password string) error {
}
// hash the password
hashedPassword, err := bcrypt.GenerateFromPassword([]byte(password), 13)
hashedPassword, err := bcrypt.GenerateFromPassword([]byte(password), 12)
if err != nil {
return err
}