From 4ebe8a4d31a7ffab1ba1394c62b0fc9e22633e26 Mon Sep 17 00:00:00 2001 From: jvyden Date: Fri, 12 Aug 2022 21:35:56 -0400 Subject: [PATCH] Fix slotpage not working --- ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs b/ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs index e77c53cd..9d333f89 100644 --- a/ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs +++ b/ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs @@ -45,7 +45,7 @@ public class SlotPage : BaseLayout } case PrivacyType.Game: { - if (slot.Creator != this.User) return this.NotFound(); + if (this.User == null || slot.Creator != this.User) return this.NotFound(); break; }