diff --git a/app/templates/admin/index.html.twig b/app/templates/admin/index.html.twig index ac06a7a..85c31c5 100644 --- a/app/templates/admin/index.html.twig +++ b/app/templates/admin/index.html.twig @@ -5,13 +5,6 @@ {% block body %}
- {% if app.user %} -
-
- logout -
-
- {% endif %}

{{ title }}

diff --git a/app/templates/base.html.twig b/app/templates/base.html.twig index 6f1d047..0bfdade 100644 --- a/app/templates/base.html.twig +++ b/app/templates/base.html.twig @@ -32,7 +32,7 @@
{% endif %} - {% if app.request.attributes.get('_route') != "homepage" %} + {% if app.request.attributes.get('_route') != "homepage" and app.request.attributes.get('_route') != "app_login" and app.request.attributes.get('_route') != "app_forgot_password_request" and app.request.attributes.get('_route') != "app_register" %}