[Update] 修改web terminal访问bug

pull/1775/head
ibuler 6 years ago
parent 60b7ccddc0
commit 67ddd42b3d

@ -118,6 +118,6 @@ class TerminalConnectView(LoginRequiredMixin, SuperUserRequiredMixin, DetailView
return super(TerminalConnectView, self).get_context_data(**kwargs)
class WebTerminalView(LoginRequiredMixin, SuperUserRequiredMixin, View):
class WebTerminalView(LoginRequiredMixin, View):
def get(self, request, *args, **kwargs):
return redirect('/luna/?' + request.GET.urlencode())

Loading…
Cancel
Save