Browse Source

[Update] 修改web terminal访问bug

pull/1775/head
ibuler 6 years ago
parent
commit
67ddd42b3d
  1. 2
      apps/terminal/views/terminal.py

2
apps/terminal/views/terminal.py

@ -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