add debug
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2024-01-04 15:13:14 +11:00
parent f5fc5c0a56
commit 3feda1d102

View File

@@ -89,6 +89,7 @@ func LoginCheck(username string, password string) (string, error) {
err = db.QueryRowx("SELECT * FROM Users WHERE Username=?", username).StructScan(&u)
if err != nil {
log.Printf("LoginCheck error retrieving user from database : '%s'\n", err)
return "", err
} else {
log.Printf("LoginCheck retrieved user '%v' from database\n", u)