added next url to ssh create key view
This commit is contained in:
parent
65c6f1342b
commit
05bf8db38a
1 changed files with 2 additions and 0 deletions
|
@ -391,6 +391,8 @@ class PaymentVMView(LoginRequiredMixin, FormView):
|
||||||
return context
|
return context
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
|
if 'next' in request.session:
|
||||||
|
del request.session['next']
|
||||||
|
|
||||||
try:
|
try:
|
||||||
UserHostingKey.objects.get(
|
UserHostingKey.objects.get(
|
||||||
|
|
Loading…
Reference in a new issue