summaryrefslogtreecommitdiffstats
path: root/src/web_service/verify_login.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/web_service/verify_login.cpp')
-rw-r--r--src/web_service/verify_login.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web_service/verify_login.cpp b/src/web_service/verify_login.cpp
index 050080278..d5b7161cb 100644
--- a/src/web_service/verify_login.cpp
+++ b/src/web_service/verify_login.cpp
@@ -21,7 +21,7 @@ bool VerifyLogin(const std::string& host, const std::string& username, const std
return username.empty();
}
- return username == *iter;
+ return *iter == username;
}
} // namespace WebService