diff options
author | vnugent <public@vaughnnugent.com> | 2023-03-15 14:52:17 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-03-15 14:52:17 -0400 |
commit | fe8484fd13f16bed47ae779e34b46d6be5b8bf11 (patch) | |
tree | 07e34b4be8673c2ab2d0c812e3ba5acc13a6017e /lib/Plugins.Essentials/src/Endpoints | |
parent | 8ab5640f77877939f7b423d3bffb5dba4643685d (diff) |
Add description, remove old version tags
Diffstat (limited to 'lib/Plugins.Essentials/src/Endpoints')
-rw-r--r-- | lib/Plugins.Essentials/src/Endpoints/UnprotectedWebEndpoint.cs | 5 |
1 files changed, 2 insertions, 3 deletions
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 ///<inheritdoc/> 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 |