summaryrefslogtreecommitdiffstats
path: root/remoting/host/it2me/it2me_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/it2me/it2me_host.cc')
-rw-r--r--remoting/host/it2me/it2me_host.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
index fe9e8c6..49cca62 100644
--- a/remoting/host/it2me/it2me_host.cc
+++ b/remoting/host/it2me/it2me_host.cc
@@ -197,8 +197,7 @@ void It2MeHost::FinishConnect() {
// Check the host domain policy.
if (!required_host_domain_.empty() &&
!base::EndsWith(xmpp_server_config_.username,
- std::string("@") + required_host_domain_,
- base::CompareCase::INSENSITIVE_ASCII)) {
+ std::string("@") + required_host_domain_, false)) {
SetState(kInvalidDomainError, "");
return;
}