Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index 9522b5c1e83d54d3135798ea52b9a50fa022bc79..a2d29daf53e88de87517aaf12f189d7cf735d42b 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -382,6 +382,7 @@ void ChromotingHost::LocalLoginSucceeded() { |
connection_->client_stub()->BeginSessionResponse( |
status, new DeleteTask<protocol::LocalLoginStatus>(status)); |
+ connection_->SetClientAuthenticated(true); |
recorder_->Start(); |
} |
@@ -397,6 +398,8 @@ void ChromotingHost::LocalLoginFailed() { |
status->set_success(false); |
connection_->client_stub()->BeginSessionResponse( |
status, new DeleteTask<protocol::LocalLoginStatus>(status)); |
+ |
+ connection_->SetClientAuthenticated(false); |
} |
} // namespace remoting |