summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniël van de Giessen <D.van.de.Giessen@TriMM.nl>2015-10-16 16:38:35 +0200
committerDaniël van de Giessen <D.van.de.Giessen@TriMM.nl>2015-10-16 16:46:10 +0200
commit3e3df4dbb11b008d1a629dea1e576f976b4f8fe8 (patch)
treea5257f7ffc6d8b6eb70da848701e289e5ea903d5
parenta0e7ab43dca0ce11a713694ee4cf530bd3b17c5a (diff)
downloadnovnc-3e3df4dbb11b008d1a629dea1e576f976b4f8fe8.tar.gz
Added return to correctly wait for password input before proceeding. Fixes #542
-rw-r--r--include/rfb.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rfb.js b/include/rfb.js
index 4ea5fd0..dfd9269 100644
--- a/include/rfb.js
+++ b/include/rfb.js
@@ -739,6 +739,7 @@ var RFB;
// an RFB state change and a UI interface issue
this._updateState('password', "Password Required");
this._onPasswordRequired(this);
+ return false;
}
if (this._sock.rQwait("auth challenge", 16)) { return false; }