mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
[core,aad] set FREERDP_ERROR_CONNECT_ACCESS_DENIED
If not authentication token can be fetched set this error to indicate why the connection failed.
This commit is contained in:
@@ -836,6 +836,9 @@ static BOOL freerdp_common_context(rdpContext* context, AccessTokenType tokenTyp
|
||||
}
|
||||
va_end(ap);
|
||||
|
||||
if (!rc)
|
||||
freerdp_set_last_error_if_not(context, FREERDP_ERROR_CONNECT_ACCESS_DENIED);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user