GUAC-974: Auth key failures should abort as UNAUTHORIZED.
This commit is contained in:
parent
b35d8dd8b2
commit
0b0c2aae93
@ -385,7 +385,9 @@ void* ssh_client_thread(void* data) {
|
|||||||
|
|
||||||
/* If still failing, give up */
|
/* If still failing, give up */
|
||||||
if (client_data->key == NULL) {
|
if (client_data->key == NULL) {
|
||||||
guac_client_log(client, GUAC_LOG_ERROR, "Auth key import failed.");
|
guac_client_abort(client,
|
||||||
|
GUAC_PROTOCOL_STATUS_CLIENT_UNAUTHORIZED,
|
||||||
|
"Auth key import failed.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user