Fix login redirect
This commit is contained in:
parent
0fc7c5c712
commit
3a6c3cee1f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue