From fe8484fd13f16bed47ae779e34b46d6be5b8bf11 Mon Sep 17 00:00:00 2001 From: vnugent Date: Wed, 15 Mar 2023 14:52:17 -0400 Subject: Add description, remove old version tags --- lib/Plugins.Essentials/src/Endpoints/UnprotectedWebEndpoint.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/Plugins.Essentials/src/Endpoints') diff --git a/lib/Plugins.Essentials/src/Endpoints/UnprotectedWebEndpoint.cs b/lib/Plugins.Essentials/src/Endpoints/UnprotectedWebEndpoint.cs index cc923c7..7a4364b 100644 --- a/lib/Plugins.Essentials/src/Endpoints/UnprotectedWebEndpoint.cs +++ b/lib/Plugins.Essentials/src/Endpoints/UnprotectedWebEndpoint.cs @@ -1,5 +1,5 @@ /* -* Copyright (c) 2022 Vaughn Nugent +* Copyright (c) 2023 Vaughn Nugent * * Library: VNLib * Package: VNLib.Plugins.Essentials @@ -35,8 +35,7 @@ namespace VNLib.Plugins.Essentials.Endpoints /// protected override ERRNO PreProccess(HttpEntity entity) { - return base.PreProccess(entity) - && (!entity.Session.IsSet || entity.Session.SessionType == Sessions.SessionType.Web); + return base.PreProccess(entity) && entity.Session.IsSet && entity.Session.SessionType == Sessions.SessionType.Web; } } } \ No newline at end of file -- cgit