| Index: remoting/host/client_session.cc
|
| diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
|
| index ede2f9c457e9e296262fd42f4f0ff6eab2053552..d12a5ed2b0238e60e0105a5590b333ab0af57a27 100644
|
| --- a/remoting/host/client_session.cc
|
| +++ b/remoting/host/client_session.cc
|
| @@ -296,11 +296,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).
|
|
|