Make authentication attempts use npticket platform

This commit is contained in:
jvyden 2022-01-27 16:51:31 -05:00
commit e1bad4ead3
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -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);