diff --git a/internal/web/web_proxy.go b/internal/web/web_proxy.go index 2eb7f7ab9..84537b645 100644 --- a/internal/web/web_proxy.go +++ b/internal/web/web_proxy.go @@ -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 } diff --git a/web/src/pages/policies/BoundPoliciesList.ts b/web/src/pages/policies/BoundPoliciesList.ts index 61b4be6af..982691c57 100644 --- a/web/src/pages/policies/BoundPoliciesList.ts +++ b/web/src/pages/policies/BoundPoliciesList.ts @@ -72,7 +72,7 @@ export class BoundPoliciesList extends Table { @@ -174,8 +174,21 @@ export class BoundPoliciesList extends Table { renderToolbar(): TemplateResult { return html` + + + ${t`Create`} + + + ${t`Create Binding`} + + + + + - @@ -204,20 +217,6 @@ export class BoundPoliciesList extends Table { }), html``)} - - - ${t`Create`} - - - ${t`Create Binding`} - - - - - - ${super.renderToolbar()} - `; + ${super.renderToolbar()}`; } }