From 95d8f644be3b116532664cf40d933df90c219fc7 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Tue, 2 Mar 2021 16:19:56 +0100 Subject: [PATCH] views: add registration method to registration email context (#21914) --- src/authentic2/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authentic2/views.py b/src/authentic2/views.py index 26c007571..b9c831994 100644 --- a/src/authentic2/views.py +++ b/src/authentic2/views.py @@ -1221,6 +1221,7 @@ class RegistrationCompletionView(CreateView): 'email': user.email, 'site': self.request.get_host(), 'login_url': login_url, + 'method': self.authentication_method, }, request=self.request, )