Skip to content

Commit acb68ad

Browse files
committed
fix: adding email
1 parent 7cffa7b commit acb68ad

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

middleware/AuthMiddleware.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ func Authorizer(sessionManager *SessionManager, whitelistChecker func(url string
8080
writeResponse(http.StatusUnauthorized, "Inactive User", w, fmt.Errorf("inactive User"))
8181
return
8282
}
83-
8483
// setting user id in context
8584
ctx := context.WithValue(r.Context(), "userId", userId)
8685
ctx = context.WithValue(ctx, "token", token)

0 commit comments

Comments
 (0)