db/account: removed debug log

This commit is contained in:
CPunch 2023-12-06 16:40:06 -06:00
parent 335fdb417c
commit 141858d6c3

View File

@ -2,7 +2,6 @@ package db
import ( import (
"errors" "errors"
"log"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
@ -62,7 +61,6 @@ func (db *DBHandler) TryLogin(Login, Password string) (*Account, error) {
var account Account var account Account
row.Next() row.Next()
if err := sqlscan.ScanRow(&account, row); err != nil { if err := sqlscan.ScanRow(&account, row); err != nil {
log.Printf("Error scanning row: %v", err)
return nil, ErrLoginInvalidID return nil, ErrLoginInvalidID
} }