Server/Shadow: Fix Authentication in shadow_client.c.
Currently if username or password is not set, the authentication is always failed because the authentication callback is never tried. Fix to always give a chance to try the subsystem authentication callback even if username / password is not set.
This commit is contained in:
parent
6d810a5d78
commit
50e5837c0f
@ -239,7 +239,7 @@ BOOL shadow_client_post_connect(freerdp_peer* peer)
|
||||
if (settings->Username && settings->Password)
|
||||
settings->AutoLogonEnabled = TRUE;
|
||||
|
||||
if (settings->AutoLogonEnabled && server->authentication)
|
||||
if (server->authentication)
|
||||
{
|
||||
if (subsystem->Authenticate)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user