Skip to content

Commit d3f8a99

Browse files
committed
proxy correct request
1 parent 3cb341b commit d3f8a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/auth/oauth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (m *OAuthMiddleware) Wrap(next http.Handler) http.Handler {
116116
userData, _ := json.Marshal(user)
117117
pr.Header.Set("X-Forwarded-User-Data", string(userData))
118118

119-
next.ServeHTTP(w, r)
119+
next.ServeHTTP(w, pr)
120120
return true
121121
}
122122

0 commit comments

Comments
 (0)