Fix login redirect

This commit is contained in:
Mark Veidemanis 2022-11-28 20:05:48 +00:00
parent 0fc7c5c712
commit 3a6c3cee1f
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class Cancel(LoginRequiredMixin, View):
class Signup(CreateView): class Signup(CreateView):
form_class = NewUserForm form_class = NewUserForm
success_url = reverse_lazy("login") success_url = reverse_lazy("two_factor:login")
template_name = "registration/signup.html" template_name = "registration/signup.html"
def get(self, request, *args, **kwargs): def get(self, request, *args, **kwargs):