diff --git a/kfet/auth/views.py b/kfet/auth/views.py index 7b9f4099..9188d318 100644 --- a/kfet/auth/views.py +++ b/kfet/auth/views.py @@ -68,7 +68,7 @@ class GenericLoginView(View): here_qd['next'] = self.request.GET['next'] here_url += '?{}'.format(here_qd.urlencode()) - logout_url = reverse('cof-logout') + logout_url = reverse('gestion:logout') logout_qd = QueryDict(mutable=True) logout_qd['next'] = here_url logout_url += '?{}'.format(logout_qd.urlencode(safe='/')) diff --git a/kfet/templates/kfet/base_nav.html b/kfet/templates/kfet/base_nav.html index 1f5f48c6..8db1e3a3 100644 --- a/kfet/templates/kfet/base_nav.html +++ b/kfet/templates/kfet/base_nav.html @@ -99,7 +99,7 @@ {% endif %}
  • - + Déconnexion
  • @@ -108,7 +108,7 @@ {% endif %} {% if user.is_authenticated and not perms.kfet.is_team %}
  • - +