From 558544364cf0d1f91d18b3a5768db8c8292f7ff6 Mon Sep 17 00:00:00 2001 From: Lee-Feng <474609810@qq.com> Date: Tue, 20 Dec 2016 15:37:31 +0800 Subject: [PATCH] Fix no auth "this._updateState" bug Fixes #735 --- core/rfb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rfb.js b/core/rfb.js index fdb9560f..51350eea 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; }