Update rfb.js
This commit is contained in:
parent
e8367e2f4e
commit
2f778a28bf
|
|
@ -1009,7 +1009,6 @@ RFB.prototype = {
|
||||||
} else {
|
} else {
|
||||||
return this._fail("Authentication failure");
|
return this._fail("Authentication failure");
|
||||||
}
|
}
|
||||||
//return false; causes TypeScript error: novnc/core/rfb.js(1012,17): Error TS7027: Unreachable code detected.
|
|
||||||
case 2:
|
case 2:
|
||||||
return this._fail("Too many authentication attempts");
|
return this._fail("Too many authentication attempts");
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue