Merge branch 'homogenize-credentials-testing' of https://github.com/lhchavez/noVNC
This commit is contained in:
commit
9ca337d3a8
|
@ -1441,8 +1441,8 @@ export default class RFB extends EventTargetMixin {
|
|||
|
||||
// negotiated Plain subtype, server waits for password
|
||||
if (this._rfbVeNCryptState == 4) {
|
||||
if (!this._rfbCredentials.username ||
|
||||
!this._rfbCredentials.password) {
|
||||
if (this._rfbCredentials.username === undefined ||
|
||||
this._rfbCredentials.password === undefined) {
|
||||
this.dispatchEvent(new CustomEvent(
|
||||
"credentialsrequired",
|
||||
{ detail: { types: ["username", "password"] } }));
|
||||
|
|
Loading…
Reference in New Issue