mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-21 23:10:06 +00:00
db/account: removed debug log
This commit is contained in:
parent
335fdb417c
commit
141858d6c3
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user