mirror of https://github.com/jumpserver/jumpserver
[Update] 修改web terminal访问bug
parent
60b7ccddc0
commit
67ddd42b3d
|
@ -118,6 +118,6 @@ class TerminalConnectView(LoginRequiredMixin, SuperUserRequiredMixin, DetailView
|
||||||
return super(TerminalConnectView, self).get_context_data(**kwargs)
|
return super(TerminalConnectView, self).get_context_data(**kwargs)
|
||||||
|
|
||||||
|
|
||||||
class WebTerminalView(LoginRequiredMixin, SuperUserRequiredMixin, View):
|
class WebTerminalView(LoginRequiredMixin, View):
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
return redirect('/luna/?' + request.GET.urlencode())
|
return redirect('/luna/?' + request.GET.urlencode())
|
||||||
|
|
Loading…
Reference in New Issue