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
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-12-01 21:32:54 +0100
commit9c35f10f6d478c5584a75d7b499b3acc3e117f08 (patch)
treefcb0e8155063d08e78fb2a3ac6d45060f4925316 /NorthstarDLL/server/auth/serverauthentication.h
parent67b005eca43fd3e4ae5df91d245e8864dd53339c (diff)
downloadNorthstarLauncher-1.20.3.tar.gz
NorthstarLauncher-1.20.3.zip
Revert "Move player auth to `CServer::ConnectClient` (#548)" (#610)v1.20.31.20.X
This reverts commit 17217a39681c7fed35bee95195bdba7eaf508911 (PR #548) which introduced a regression allowing auth to progress further than intended. (cherry picked from commit a27c702b7d2189f80c5c441eb44a8a5b6922c538)
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);
};