fix utils
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"crypto/sha512"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"log"
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
@@ -40,7 +39,6 @@ func UserLogin(c *context.Context) {
|
||||
acc, err := models.GetAccount(loginArg.Account)
|
||||
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
c.ServerError(nil)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user