We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cffa7b commit acb68adCopy full SHA for acb68ad
1 file changed
middleware/AuthMiddleware.go
@@ -80,7 +80,6 @@ func Authorizer(sessionManager *SessionManager, whitelistChecker func(url string
80
writeResponse(http.StatusUnauthorized, "Inactive User", w, fmt.Errorf("inactive User"))
81
return
82
}
83
-
84
// setting user id in context
85
ctx := context.WithValue(r.Context(), "userId", userId)
86
ctx = context.WithValue(ctx, "token", token)
0 commit comments