summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-12-23 09:35:51 +0100
committerPierre Ossman <ossman@cendio.se>2019-12-23 09:35:51 +0100
commit06a8f7d91a1555f9309791b6cda662cbb4539aa6 (patch)
treed4470172e85e475fa3a5301a8c1418f5caecbe5b
parentdbbb676da96519acfdfc66c412d2f2cdbc898ab6 (diff)
downloadnovnc-06a8f7d91a1555f9309791b6cda662cbb4539aa6.tar.gz
Use undefined as the default value for password
An empty password is techincally legal, and now supported by the RFB core, so we cannot use that as a placeholder for "no password".
-rw-r--r--vnc_lite.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc_lite.html b/vnc_lite.html
index e026771..98dd28f 100644
--- a/vnc_lite.html
+++ b/vnc_lite.html
@@ -140,7 +140,7 @@
// By default, use the host and port of server that served this file
const host = readQueryVariable('host', window.location.hostname);
let port = readQueryVariable('port', window.location.port);
- const password = readQueryVariable('password', '');
+ const password = readQueryVariable('password');
const path = readQueryVariable('path', 'websockify');
// | | | | | |