diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index 372381a..022801f 100644
--- a/ogcp/templates/base.html
+++ b/ogcp/templates/base.html
@@ -20,8 +20,8 @@
{% block container %}
- {# The sidebar is not visible on index #}
- {% if request.endpoint != "index" %}
+ {# The sidebar is not visible on index and login #}
+ {% if request.endpoint not in ["index", "login"] %}