fix utils
This commit is contained in:
1 parent
1429c7fd85
commit
0a471443ce
8 files changed
+174
-26
No files matched your search
@@ -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