| Index: remoting/host/chromoting_host.cc
|
| diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
|
| index 0a365e170612f2eca2e85e3a5e61537afbc291f8..9cd6abc0c4ed6c95aeff07953d4a2e784e3afac3 100644
|
| --- a/remoting/host/chromoting_host.cc
|
| +++ b/remoting/host/chromoting_host.cc
|
| @@ -148,7 +148,7 @@ void ChromotingHost::SetMaximumSessionDuration(
|
|
|
| ////////////////////////////////////////////////////////////////////////////
|
| // protocol::ClientSession::EventHandler implementation.
|
| -void ChromotingHost::OnSessionAuthenticated(ClientSession* client) {
|
| +bool ChromotingHost::OnSessionAuthenticated(ClientSession* client) {
|
| DCHECK(CalledOnValidThread());
|
|
|
| login_backoff_.Reset();
|
| @@ -176,9 +176,7 @@ void ChromotingHost::OnSessionAuthenticated(ClientSession* client) {
|
| OnClientAuthenticated(jid));
|
| authenticating_client_ = false;
|
|
|
| - if (reject_authenticating_client_) {
|
| - client->DisconnectSession();
|
| - }
|
| + return !reject_authenticating_client_;
|
| }
|
|
|
| void ChromotingHost::OnSessionChannelsConnected(ClientSession* client) {
|
|
|