From 3e3df4dbb11b008d1a629dea1e576f976b4f8fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20de=20Giessen?= Date: Fri, 16 Oct 2015 16:38:35 +0200 Subject: [PATCH] Added return to correctly wait for password input before proceeding. Fixes #542 --- include/rfb.js | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rfb.js b/include/rfb.js index 4ea5fd07..dfd9269c 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; }