[Update] 修改web terminal访问bug

pull/1775/head
ibuler 2018-09-04 17:09:37 +08:00
parent 60b7ccddc0
commit 67ddd42b3d
1 changed files with 1 additions and 1 deletions

View File

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