Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Unified Diff: remoting/protocol/it2me_host_authenticator_factory.cc

Issue 1987163002: Add DOMAIN_MISMATCH message end to end (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep the order of ChromotingEvent list Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/it2me_host_authenticator_factory.cc
diff --git a/remoting/protocol/it2me_host_authenticator_factory.cc b/remoting/protocol/it2me_host_authenticator_factory.cc
index 7d6e691641ae6736f3981eaa3503fef514deb85b..6daed66897df7b22473bb2ce12c20d4a29df45a1 100644
--- a/remoting/protocol/it2me_host_authenticator_factory.cc
+++ b/remoting/protocol/it2me_host_authenticator_factory.cc
@@ -43,7 +43,7 @@ It2MeHostAuthenticatorFactory::CreateAuthenticator(
LOG(ERROR) << "Rejecting incoming connection from " << remote_jid
<< ": Domain mismatch.";
return base::WrapUnique(
- new RejectingAuthenticator(Authenticator::INVALID_CREDENTIALS));
+ new RejectingAuthenticator(Authenticator::DOMAIN_MISMATCH));
}
}

Powered by Google App Engine
This is Rietveld 408576698