rename kontor projects

This commit is contained in:
2026-01-03 04:07:42 +01:00
parent 0392ac49fb
commit 4d93f51767
32 changed files with 92 additions and 62 deletions
+8
View File
@@ -0,0 +1,8 @@
package utils
import "golang.org/x/crypto/bcrypt"
func ComparePassword(hashedPassword, password string) bool {
err := bcrypt.CompareHashAndPassword([]byte(hashedPassword), []byte(password))
return err == nil
}