aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/masterserver
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2023-03-05 15:42:29 -0500
committerpg9182 <96569817+pg9182@users.noreply.github.com>2023-04-17 14:53:23 -0400
commitc173e8fad8b0c4f5711ad806c6de70349274941c (patch)
tree26841b110aea1277fba7d5ee178b57322aaee891 /NorthstarDLL/masterserver
parent009482fcb88873ad6d781394c6a89a9a9a62fbd0 (diff)
downloadNorthstarLauncher-c173e8fad8b0c4f5711ad806c6de70349274941c.tar.gz
NorthstarLauncher-c173e8fad8b0c4f5711ad806c6de70349274941c.zip
Set default server auth failure reason
Not all error paths set it.
Diffstat (limited to 'NorthstarDLL/masterserver')
-rw-r--r--NorthstarDLL/masterserver/masterserver.cpp2
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);