Change success_url in hosting.SignupView from ssh_keys to dashboard

This commit is contained in:
PCoder 2017-12-27 08:32:55 +01:00
parent 72baa3635b
commit 87cdb08f3c
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class SignupView(CreateView):
template_name = 'hosting/signup.html'
form_class = HostingUserSignupForm
model = CustomUser
success_url = reverse_lazy('hosting:ssh_keys')
success_url = reverse_lazy('hosting:dashboard')
def get_success_url(self):
next_url = self.request.session.get(