diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2023-03-05 15:42:29 -0500 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2023-04-17 14:53:23 -0400 |
commit | c173e8fad8b0c4f5711ad806c6de70349274941c (patch) | |
tree | 26841b110aea1277fba7d5ee178b57322aaee891 | |
parent | 009482fcb88873ad6d781394c6a89a9a9a62fbd0 (diff) | |
download | NorthstarLauncher-c173e8fad8b0c4f5711ad806c6de70349274941c.tar.gz NorthstarLauncher-c173e8fad8b0c4f5711ad806c6de70349274941c.zip |
Set default server auth failure reason
Not all error paths set it.
-rw-r--r-- | NorthstarDLL/masterserver/masterserver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/masterserver/masterserver.cpp b/NorthstarDLL/masterserver/masterserver.cpp index 76106169..015670e7 100644 --- a/NorthstarDLL/masterserver/masterserver.cpp +++ b/NorthstarDLL/masterserver/masterserver.cpp @@ -450,6 +450,7 @@ void MasterServerManager::AuthenticateWithOwnServer(const char* uid, const char* m_bAuthenticatingWithGameServer = true; m_bScriptAuthenticatingWithGameServer = true; m_bSuccessfullyAuthenticatedWithGameServer = false; + m_sAuthFailureReason = "Authentication Failed"; std::string uidStr(uid); std::string tokenStr(playerToken); @@ -584,6 +585,7 @@ void MasterServerManager::AuthenticateWithServer(const char* uid, const char* pl m_bAuthenticatingWithGameServer = true; m_bScriptAuthenticatingWithGameServer = true; m_bSuccessfullyAuthenticatedWithGameServer = false; + m_sAuthFailureReason = "Authentication Failed"; std::string uidStr(uid); std::string tokenStr(playerToken); |