diff --git a/lms/templates/index.html b/lms/templates/index.html index 3ed8f1326c..07967c8668 100644 --- a/lms/templates/index.html +++ b/lms/templates/index.html @@ -53,8 +53,5 @@
- - <%include file="login_modal.html" /> - diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index 5d96fb9bed..ff96583a2a 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -49,3 +49,7 @@ %endif + +%if not user.is_authenticated(): + <%include file="login_modal.html" /> +%endif