aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/server/auth/serverauthentication.h
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-12-01 21:31:20 +0100
committerGitHub <noreply@github.com>2023-12-01 21:31:20 +0100
commita27c702b7d2189f80c5c441eb44a8a5b6922c538 (patch)
tree417a4f593835e90fa16e0459ce55008850d59785 /NorthstarDLL/server/auth/serverauthentication.h
parentda7061a846759cd63dd1907a9df163f4c5b17cf6 (diff)
downloadNorthstarLauncher-a27c702b7d2189f80c5c441eb44a8a5b6922c538.tar.gz
NorthstarLauncher-a27c702b7d2189f80c5c441eb44a8a5b6922c538.zip
Revert "Move player auth to `CServer::ConnectClient` (#548)" (#610)
This reverts commit 17217a39681c7fed35bee95195bdba7eaf508911 (PR #548) which introduced a regression allowing auth to progress further than intended.
Diffstat (limited to 'NorthstarDLL/server/auth/serverauthentication.h')
-rw-r--r--NorthstarDLL/server/auth/serverauthentication.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/server/auth/serverauthentication.h b/NorthstarDLL/server/auth/serverauthentication.h
index 34680bd6..dd0e13af 100644
--- a/NorthstarDLL/server/auth/serverauthentication.h
+++ b/NorthstarDLL/server/auth/serverauthentication.h
@@ -48,9 +48,9 @@ class ServerAuthenticationManager
bool VerifyPlayerName(const char* pAuthToken, const char* pName, char pOutVerifiedName[64]);
bool IsDuplicateAccount(R2::CBaseClient* pPlayer, const char* pUid);
- bool CheckAuthentication(R2::CBaseClient* pPlayer, uint64_t iUid, const char* pAuthToken);
+ bool CheckAuthentication(R2::CBaseClient* pPlayer, uint64_t iUid, char* pAuthToken);
- void AuthenticatePlayer(R2::CBaseClient* pPlayer, uint64_t iUid, const char* pAuthToken);
+ void AuthenticatePlayer(R2::CBaseClient* pPlayer, uint64_t iUid, char* pAuthToken);
bool RemovePlayerAuthData(R2::CBaseClient* pPlayer);
void WritePersistentData(R2::CBaseClient* pPlayer);
};