diff --git a/friends_map/settings.py b/friends_map/settings.py index 08cf457..bdf41fb 100644 --- a/friends_map/settings.py +++ b/friends_map/settings.py @@ -144,4 +144,5 @@ APP = { } CRISPY_TEMPLATE_PACK = 'bootstrap4' +LOGOUT_REDIRECT_URL = '/' diff --git a/map/templates/map/navbar.html b/map/templates/map/navbar.html index a608401..b44f22d 100644 --- a/map/templates/map/navbar.html +++ b/map/templates/map/navbar.html @@ -23,9 +23,9 @@ Admin
{% endif %} - Modifier le mot de passe + Change password - Déconnexion + Logout {% else %} Login diff --git a/map/templates/registration/login.html b/map/templates/registration/login.html index 9b3afe8..a358613 100644 --- a/map/templates/registration/login.html +++ b/map/templates/registration/login.html @@ -1,7 +1,10 @@ {% extends 'map/base.html' %} {% load crispy_forms_tags %} +{% block h1 %}Login{% endblock %} + {% block content %} +Please authenticate before accessing the map.