GUACAMOLE-514: VNC client should abort on credential error.
This commit is contained in:
parent
f21621e677
commit
61d12f1668
@ -41,9 +41,12 @@ rfbCredential* guac_vnc_get_credentials(rfbClient* client, int credentialType) {
|
|||||||
creds->userCredential.password = settings->password;
|
creds->userCredential.password = settings->password;
|
||||||
return creds;
|
return creds;
|
||||||
}
|
}
|
||||||
|
|
||||||
guac_client_log(gc, GUAC_LOG_ERROR,
|
guac_client_abort(gc, GUAC_PROTOCOL_STATUS_SERVER_ERROR,
|
||||||
"Unsupported credential type requested.");
|
"Unsupported credential type requested.");
|
||||||
|
guac_client_log(gc, GUAC_LOG_DEBUG,
|
||||||
|
"Unable to provided requested credential %d.",
|
||||||
|
credentialType);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user