summaryrefslogtreecommitdiffstats
path: root/src/web_service/verify_login.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-04-08 09:09:06 +0200
committerGitHub <noreply@github.com>2023-04-08 09:09:06 +0200
commit25c4ae6e111146386d59acd355cebe88c3d5331f (patch)
treeaaedf79b8d1cdad3db4f1fcf76ffbb0aa9d4f460 /src/web_service/verify_login.cpp
parentMerge pull request #10028 from zhaobot/tx-update-20230404051754 (diff)
parentgeneral: fixes for gcc 13 (diff)
downloadyuzu-25c4ae6e111146386d59acd355cebe88c3d5331f.tar
yuzu-25c4ae6e111146386d59acd355cebe88c3d5331f.tar.gz
yuzu-25c4ae6e111146386d59acd355cebe88c3d5331f.tar.bz2
yuzu-25c4ae6e111146386d59acd355cebe88c3d5331f.tar.lz
yuzu-25c4ae6e111146386d59acd355cebe88c3d5331f.tar.xz
yuzu-25c4ae6e111146386d59acd355cebe88c3d5331f.tar.zst
yuzu-25c4ae6e111146386d59acd355cebe88c3d5331f.zip
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