diff options
author | Daniël van de Giessen <D.van.de.Giessen@TriMM.nl> | 2015-10-16 16:38:35 +0200 |
---|---|---|
committer | Daniël van de Giessen <D.van.de.Giessen@TriMM.nl> | 2015-10-16 16:46:10 +0200 |
commit | 3e3df4dbb11b008d1a629dea1e576f976b4f8fe8 (patch) | |
tree | a5257f7ffc6d8b6eb70da848701e289e5ea903d5 | |
parent | a0e7ab43dca0ce11a713694ee4cf530bd3b17c5a (diff) | |
download | novnc-3e3df4dbb11b008d1a629dea1e576f976b4f8fe8.tar.gz |
Added return to correctly wait for password input before proceeding. Fixes #542
-rw-r--r-- | include/rfb.js | 1 |
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; } |