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