From 3a6c3cee1f6bef8ed06cef6723f6d8a8804cba15 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 28 Nov 2022 20:05:48 +0000 Subject: [PATCH] Fix login redirect --- core/views/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/base.py b/core/views/base.py index 7464876..3751a31 100644 --- a/core/views/base.py +++ b/core/views/base.py @@ -88,7 +88,7 @@ class Cancel(LoginRequiredMixin, View): class Signup(CreateView): form_class = NewUserForm - success_url = reverse_lazy("login") + success_url = reverse_lazy("two_factor:login") template_name = "registration/signup.html" def get(self, request, *args, **kwargs):