Skip to content

Commit

Permalink
Fix auth
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-r-elp committed Aug 27, 2024
1 parent d26c168 commit 0a548ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public async Task<bool> TryAuthenticateUserWithPlatform(MasterServerSession sess
verifyResponse.EnsureSuccessStatusCode();

var stringContent = await verifyResponse.Content.ReadAsStringAsync();
if (stringContent.Contains("\"is_validate\": true"))
if (stringContent.Contains("\"is_validate\":true"))
{
authPasses = true;
authLogReason = "Authentication success";
Expand All @@ -103,7 +103,7 @@ public async Task<bool> TryAuthenticateUserWithPlatform(MasterServerSession sess
verifyResponseCN.EnsureSuccessStatusCode();

stringContent = await verifyResponseCN.Content.ReadAsStringAsync();
if (stringContent.Contains("\"is_validate\": true"))
if (stringContent.Contains("\"is_validate\":true"))
{
authPasses = true;
authLogReason = "Authentication success";
Expand Down

0 comments on commit 0a548ed

Please sign in to comment.