diff --git a/authentik/core/templates/if/flow.html b/authentik/core/templates/if/flow.html index 742a24867..d334fdae1 100644 --- a/authentik/core/templates/if/flow.html +++ b/authentik/core/templates/if/flow.html @@ -5,6 +5,7 @@ {% block head_before %} {{ block.super }} + {% if flow.compatibility_mode and not inspector %} {% endif %} @@ -19,7 +20,7 @@ window.authentik.flow = { {% block head %} diff --git a/authentik/core/templates/login/base_full.html b/authentik/core/templates/login/base_full.html index 4e7b729c3..e5562df7d 100644 --- a/authentik/core/templates/login/base_full.html +++ b/authentik/core/templates/login/base_full.html @@ -4,13 +4,19 @@ {% load i18n %} {% block head_before %} + {% endblock %} {% block head %} diff --git a/web/src/authentik.css b/web/src/authentik.css index 52c90791e..dca5b6a9b 100644 --- a/web/src/authentik.css +++ b/web/src/authentik.css @@ -9,6 +9,12 @@ --ak-dark-background-light: #1c1e21; --ak-dark-background-light-ish: #212427; --ak-dark-background-lighter: #2b2e33; + + --pf-c-background-image--BackgroundImage: var(--ak-flow-background); + --pf-c-background-image--BackgroundImage-2x: var(--ak-flow-background); + --pf-c-background-image--BackgroundImage--sm: var(--ak-flow-background); + --pf-c-background-image--BackgroundImage--sm-2x: var(--ak-flow-background); + --pf-c-background-image--BackgroundImage--lg: var(--ak-flow-background); } html {