u
This commit is contained in:
1 parent
500fab7a80
commit
8f3f6982db
54 files changed
+2076
-1877
No files matched your search
@@ -43,11 +43,11 @@ func Auth() app.HandlerFunc {
|
||||
return
|
||||
}
|
||||
|
||||
verifyToken := jwtx.VerifyToken(token)
|
||||
verifyToken, flag := jwtx.VerifyToken(token)
|
||||
|
||||
if verifyToken.IsValid {
|
||||
if flag {
|
||||
user := &ContextUser{
|
||||
UserID: verifyToken.Claims.UserID,
|
||||
UserID: verifyToken.UserID,
|
||||
SpaceID: 0,
|
||||
}
|
||||
if spaceId != "" {
|
||||
|
||||
Reference in new issue
Block a user