Index: remoting/host/client_session.cc |
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc |
index 100858996fb2b77cb8afeeb953be6f351c1a4a4a..a97c67c3220363d48dec3cd3abb16074488fe082 100644 |
--- a/remoting/host/client_session.cc |
+++ b/remoting/host/client_session.cc |
@@ -294,11 +294,8 @@ void ClientSession::OnConnectionAuthenticated( |
protocol::MAX_SESSION_LENGTH)); |
} |
- // Disconnect the session if the connection was rejected by the host. |
- if (!event_handler_->OnSessionAuthenticated(this)) { |
- DisconnectSession(protocol::SESSION_REJECTED); |
- return; |
- } |
+ // Notify EventHandler. |
+ event_handler_->OnSessionAuthenticated(this); |
// Create the desktop environment. Drop the connection if it could not be |
// created for any reason (for instance the curtain could not initialize). |