Remove print
This commit is contained in:
parent
b9ac6fbd5f
commit
ac2b5262fd
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user