Unverified Commit 9945ac17 authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #1775 from jumpserver/dev

[Update] 修改web terminal访问bug
parents 03adddef 67ddd42b
......@@ -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())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment