Skip to content

Commit

Permalink
Fix no auth "this._updateState" bug
Browse files Browse the repository at this point in the history
Fixes novnc#735
  • Loading branch information
Lee-Feng authored and samhed committed Dec 20, 2016
1 parent c01b2f0 commit 5585443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/rfb.js
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@
if (this._sock.rQwait("sub auth count", 4)) { return false; }
var subAuthCount = this._sock.rQshift32();
if (subAuthCount === 0) { // empty sub-auth list received means 'no auth' subtype selected
this._updateState('SecurityResult');
this._rfb_init_state = 'SecurityResult';
return true;
}

Expand Down

0 comments on commit 5585443

Please sign in to comment.