Remove print

This commit is contained in:
Maximilian 2023-02-28 14:57:15 -06:00
parent b9ac6fbd5f
commit ac2b5262fd

View File

@ -3,7 +3,6 @@ package models
import ( import (
"GoWeb/app" "GoWeb/app"
"database/sql" "database/sql"
"fmt"
"log" "log"
"net/http" "net/http"
"strconv" "strconv"
@ -117,7 +116,6 @@ func AuthenticateUser(app *app.App, w http.ResponseWriter, username string, pass
log.Println(err) log.Println(err)
return Session{}, err return Session{}, err
} }
fmt.Println(user)
// Validate password // Validate password
err = bcrypt.CompareHashAndPassword([]byte(user.Password), []byte(password)) err = bcrypt.CompareHashAndPassword([]byte(user.Password), []byte(password))