remove extra logging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-03 15:31:38 +10:00
parent f7429dc25b
commit 3407dfe4fe
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ import (
var db *sqlx.DB
const (
sqlFile = "ccsecrets.db"
sqlFile = "smt.db"
)
const createRoles string = `

View File

@@ -45,7 +45,7 @@ func (u *User) SaveUser() (*User, error) {
}
func VerifyPassword(password, hashedPassword string) error {
log.Printf("VerifyPassword comparing password vs hashed:\n'%s'\n'%s'\n", password, hashedPassword)
log.Printf("VerifyPassword comparing input against hashed value '%s'\n", hashedPassword)
return bcrypt.CompareHashAndPassword([]byte(hashedPassword), []byte(password))
}