mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-24 11:41:32 +02:00
Clean up RFB._rfb_auth_schema assignment
This commit is contained in:
parent
ce6d66f030
commit
ee2423ed2b
@ -61,7 +61,7 @@ export default class RFB extends EventTargetMixin {
|
|||||||
// Internal state
|
// Internal state
|
||||||
this._rfb_connection_state = '';
|
this._rfb_connection_state = '';
|
||||||
this._rfb_init_state = '';
|
this._rfb_init_state = '';
|
||||||
this._rfb_auth_scheme = '';
|
this._rfb_auth_scheme = -1;
|
||||||
this._rfb_clean_disconnect = true;
|
this._rfb_clean_disconnect = true;
|
||||||
|
|
||||||
// Server capabilities
|
// Server capabilities
|
||||||
@ -975,7 +975,6 @@ export default class RFB extends EventTargetMixin {
|
|||||||
Log.Debug("Server security types: " + types);
|
Log.Debug("Server security types: " + types);
|
||||||
|
|
||||||
// Look for each auth in preferred order
|
// Look for each auth in preferred order
|
||||||
this._rfb_auth_scheme = 0;
|
|
||||||
if (includes(1, types)) {
|
if (includes(1, types)) {
|
||||||
this._rfb_auth_scheme = 1; // None
|
this._rfb_auth_scheme = 1; // None
|
||||||
} else if (includes(22, types)) {
|
} else if (includes(22, types)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user