From c06917e386f208898cdb0200dd5cbca3dd2e811e 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 27927eaa..e5d4829e 100644 --- a/src/authentic2/views.py +++ b/src/authentic2/views.py @@ -1185,6 +1185,7 @@ class RegistrationCompletionView(CreateView): 'email': user.email, 'site': self.request.get_host(), 'login_url': login_url, + 'method': self.authentication_method, }, request=self.request) -- 2.20.1