diff --git a/server/shadow/shadow_client.c b/server/shadow/shadow_client.c index fc141fbe1..258ba3529 100644 --- a/server/shadow/shadow_client.c +++ b/server/shadow/shadow_client.c @@ -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) {