Commit 67ddd42b authored by ibuler's avatar ibuler

[Update] 修改web terminal访问bug

parent 60b7ccdd
...@@ -118,6 +118,6 @@ class TerminalConnectView(LoginRequiredMixin, SuperUserRequiredMixin, DetailView ...@@ -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())
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