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; }