From 8fdd464e2e8d34838146664942d615acaad780db Mon Sep 17 00:00:00 2001 From: jvyden Date: Wed, 16 Feb 2022 19:02:07 -0500 Subject: [PATCH] [skip ci] Don't log nptickets in debug builds --- ProjectLighthouse/Controllers/GameApi/LoginController.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ProjectLighthouse/Controllers/GameApi/LoginController.cs b/ProjectLighthouse/Controllers/GameApi/LoginController.cs index 739e5322..8e95ed4e 100644 --- a/ProjectLighthouse/Controllers/GameApi/LoginController.cs +++ b/ProjectLighthouse/Controllers/GameApi/LoginController.cs @@ -34,10 +34,6 @@ public class LoginController : ControllerBase await this.Request.Body.CopyToAsync(ms); byte[] loginData = ms.ToArray(); - #if DEBUG - await IOFile.WriteAllBytesAsync($"npTicket-{TimestampHelper.TimestampMillis}.txt", loginData); - #endif - NPTicket? npTicket; try {