diff options
author | Lee-Feng <474609810@qq.com> | 2016-12-20 15:37:31 +0800 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2016-12-20 08:37:31 +0100 |
commit | 558544364cf0d1f91d18b3a5768db8c8292f7ff6 (patch) | |
tree | 782fe4eaa0fc7e9841a4dbec7bccdfd1b4773e8e | |
parent | c01b2f0259b101cd9b7fdac610ddb68a1e6d828a (diff) | |
download | novnc-558544364cf0d1f91d18b3a5768db8c8292f7ff6.tar.gz |
Fix no auth "this._updateState" bug
Fixes #735
-rw-r--r-- | core/rfb.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rfb.js b/core/rfb.js index fdb9560..51350ee 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -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; } |