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

This commit is contained in:
Daniël van de Giessen 2015-10-16 16:38:35 +02:00
parent a0e7ab43dc
commit 3e3df4dbb1
1 changed files with 1 additions and 0 deletions

View File

@ -739,6 +739,7 @@ var RFB;
// an RFB state change and a UI interface issue // an RFB state change and a UI interface issue
this._updateState('password', "Password Required"); this._updateState('password', "Password Required");
this._onPasswordRequired(this); this._onPasswordRequired(this);
return false;
} }
if (this._sock.rQwait("auth challenge", 16)) { return false; } if (this._sock.rQwait("auth challenge", 16)) { return false; }