Commit 523d8058 authored by Pascal Meunier's avatar Pascal Meunier

make sure experimental NOVNC feature is never turned on accidentally

parent 2c494c30
......@@ -458,7 +458,8 @@ class Session:
INSERT INTO fileperm(sessnum,fileuser,cookie)
VALUES(%s,%s,%s) ON DUPLICATE KEY UPDATE cookie=%s
""" , [self.sessnum, self.user, cookie, cookie])
if self.K["NOVNC"]:
if False:
# self.K["NOVNC"]:
# experimental
# tell the execution host what the viewtoken is
status = 1
......@@ -470,7 +471,7 @@ class Session:
except StandardError:
continue
if count >= 5:
raise SessionError("unable to invoke command for session %s (app = %s, user= %s)",
raise SessionError("set_viewperm: unable to invoke command for session %s (app = %s, user= %s)",
self.sessnum, self.app.appname, self.user)
def VNC_proxy_dict(self, force_readonly, hub_url, db):
......
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