diff --git a/mymodule/themes/fancytheme/core/loginuserpass.twig b/mymodule/themes/fancytheme/core/loginuserpass.twig index db2943d5d37c1c24c0034ba0bc7b2a3ace14e2d6..d7e745fbf07fc4db054a9d5854d583c3fbebd64d 100644 --- a/mymodule/themes/fancytheme/core/loginuserpass.twig +++ b/mymodule/themes/fancytheme/core/loginuserpass.twig @@ -1,9 +1,5 @@ {% extends "@core/base.twig" %} -{% block preload %} - -{% endblock %} - {% block postload %} {% endblock %} @@ -20,8 +16,8 @@

Login Form

- {%- if 'admin' in app.request.query.get("AuthState") -%} -
+ {%- if 'admin' in attribute(queryParams, "AuthState") -%} +
{%- else -%}
{%- endif -%} diff --git a/mymodule/themes/fancytheme/default/base.twig b/mymodule/themes/fancytheme/default/base.twig index 16034b3fa0ac3467bb2a042e7053083af4dd5b33..48f3bb794a6702988b61101b6b1a1d882839f384 100644 --- a/mymodule/themes/fancytheme/default/base.twig +++ b/mymodule/themes/fancytheme/default/base.twig @@ -8,6 +8,7 @@ + {% if isRTL %}