From 141858d6c3ae3eecb0b2efe3d7e3ceb8245685c0 Mon Sep 17 00:00:00 2001 From: CPunch Date: Wed, 6 Dec 2023 16:40:06 -0600 Subject: [PATCH] db/account: removed debug log --- internal/db/account.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/db/account.go b/internal/db/account.go index e835a33..d11f45c 100644 --- a/internal/db/account.go +++ b/internal/db/account.go @@ -2,7 +2,6 @@ package db import ( "errors" - "log" "golang.org/x/crypto/bcrypt" @@ -62,7 +61,6 @@ func (db *DBHandler) TryLogin(Login, Password string) (*Account, error) { var account Account row.Next() if err := sqlscan.ScanRow(&account, row); err != nil { - log.Printf("Error scanning row: %v", err) return nil, ErrLoginInvalidID }