remove more unneeded logs
This commit is contained in:
@@ -64,7 +64,8 @@ func Register(c *gin.Context) {
|
||||
c.JSON(http.StatusBadRequest, gin.H{"Error hashing password": err.Error()})
|
||||
return
|
||||
} else {
|
||||
log.Printf("Register generated hashed password value '%s' from '%s'\n", string(hashedPassword), input.Password)
|
||||
//log.Printf("Register generated hashed password value '%s' from '%s'\n", string(hashedPassword), input.Password)
|
||||
log.Printf("Register generated hashed password value '%s'\n", string(hashedPassword))
|
||||
}
|
||||
u.Password = string(hashedPassword)
|
||||
|
||||
|
Reference in New Issue
Block a user