@@ -18,7 +18,7 @@ func JWTAuth() gin.HandlerFunc {
|
||||
return
|
||||
}
|
||||
|
||||
if err == nil && uid == "" {
|
||||
if uid == "" {
|
||||
c.Set("user_id", "")
|
||||
c.Next()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user