web/admin: fix BoundPoliciesList's edit policy button not working

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-02 18:00:26 +02:00
parent 6d0e0cbe5a
commit 166b98fa34
2 changed files with 17 additions and 18 deletions

View File

@ -32,6 +32,6 @@ func (ws *WebServer) proxyErrorHandler(rw http.ResponseWriter, req *http.Request
}
func (ws *WebServer) proxyModifyResponse(r *http.Response) error {
r.Header.Set("X-authentik-from", "authentik")
r.Header.Set("server", "authentik")
return nil
}