From d4e0f4bf0f3e8c17662822db6824c5ddb738dc6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Wed, 13 May 2020 18:47:14 +0200 Subject: [PATCH] =?UTF-8?q?rename=20next=5Fpage=20=E2=86=92=20next=20in=20?= =?UTF-8?q?templates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- authens/templates/authens/login_switch.html | 4 ++-- authens/views.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/authens/templates/authens/login_switch.html b/authens/templates/authens/login_switch.html index 76676dd..fe16203 100644 --- a/authens/templates/authens/login_switch.html +++ b/authens/templates/authens/login_switch.html @@ -7,10 +7,10 @@ ENS Auth -

+

{% trans "Login par CAS" %}

-

+

{% trans "Login par mot de passe" %}

diff --git a/authens/views.py b/authens/views.py index 08769d9..06b80d5 100644 --- a/authens/views.py +++ b/authens/views.py @@ -40,7 +40,7 @@ class LoginSwitchView(NextPageMixin, TemplateView): def get_context_data(self, **kwargs): ctx = super().get_context_data(**kwargs) - ctx["next_page"] = self.get_next_url() + ctx["next"] = self.get_next_url() return ctx