diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-10-29 16:04:13 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-01-04 15:05:01 +0100 |
commit | 58fc267b2bac1b89450b76a21e91ffd25e7e4358 (patch) | |
tree | 101c9bcb019d773b279ac0f7232900e9eb01fa26 | |
parent | 47fbdced4530dd2a66a5f20be27b69d6c12a6ffc (diff) | |
download | novnc-58fc267b2bac1b89450b76a21e91ffd25e7e4358.tar.gz |
Remove unused token setting
-rw-r--r-- | app/ui.js | 8 | ||||
-rw-r--r-- | vnc.html | 4 |
2 files changed, 0 insertions, 12 deletions
@@ -214,7 +214,6 @@ var UI; UI.initSetting('view_only', false); UI.initSetting('path', 'websockify'); UI.initSetting('repeaterID', ''); - UI.initSetting('token', ''); }, setupWindowEvents: function() { @@ -1038,7 +1037,6 @@ var UI; UI.saveSetting('host'); UI.saveSetting('port'); - UI.saveSetting('token'); //UI.saveSetting('password'); }, @@ -1055,14 +1053,8 @@ var UI; var host = document.getElementById('noVNC_setting_host').value; var port = document.getElementById('noVNC_setting_port').value; var password = document.getElementById('noVNC_setting_password').value; - var token = document.getElementById('noVNC_setting_token').value; var path = document.getElementById('noVNC_setting_path').value; - //if token is in path then ignore the new token variable - if (token) { - path = WebUtil.injectParamIfMissing(path, "token", token); - } - if ((!host) || (!port)) { var msg = _("Must set host and port"); Util.Error(msg); @@ -263,10 +263,6 @@ <label for="noVNC_setting_password">Password:</label> <input id="noVNC_setting_password" type="password" /> </li> - <li> - <label for="noVNC_setting_token">Token:</label> - <input id="noVNC_setting_token" /> - </li> <li><hr></li> <li> <input id="noVNC_connect_button" type="button" value="Connect" class="noVNC_submit" /> |