瀏覽代碼

Added return to correctly wait for password input before proceeding. Fixes #542

Daniël van de Giessen 9 年之前
父節點
當前提交
3e3df4dbb1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/rfb.js

+ 1 - 0
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; }