added next url to ssh create key view

This commit is contained in:
Levi 2017-05-21 22:39:47 -05:00
parent 65c6f1342b
commit 05bf8db38a

View file

@ -391,6 +391,8 @@ class PaymentVMView(LoginRequiredMixin, FormView):
return context
def get(self, request, *args, **kwargs):
if 'next' in request.session:
del request.session['next']
try:
UserHostingKey.objects.get(