From e1bad4ead3f849728bcf3df5698ca0af2a5c1505 Mon Sep 17 00:00:00 2001 From: jvyden Date: Thu, 27 Jan 2022 16:51:31 -0500 Subject: [PATCH] Make authentication attempts use npticket platform --- ProjectLighthouse/Controllers/LoginController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLighthouse/Controllers/LoginController.cs b/ProjectLighthouse/Controllers/LoginController.cs index c063e814..0cb7246e 100644 --- a/ProjectLighthouse/Controllers/LoginController.cs +++ b/ProjectLighthouse/Controllers/LoginController.cs @@ -116,7 +116,7 @@ public class LoginController : ControllerBase GameTokenId = token.TokenId, Timestamp = TimestampHelper.Timestamp, IPAddress = ipAddress, - Platform = token.GameVersion == GameVersion.LittleBigPlanetVita ? Platform.Vita : Platform.PS3, // TODO: properly identify RPCS3 + Platform = npTicket.Platform, }; this.database.AuthenticationAttempts.Add(authAttempt);