From 3b662cfdbf361d044a3e5d8ff82c62a87cede46a Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 14 Jan 2023 16:32:38 -0500 Subject: Remove 'upgrade' flag from token/login hash --- libs/VNLib.Plugins.Sessions.Memory/src/MemorySession.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/VNLib.Plugins.Sessions.Memory') diff --git a/libs/VNLib.Plugins.Sessions.Memory/src/MemorySession.cs b/libs/VNLib.Plugins.Sessions.Memory/src/MemorySession.cs index c26c281..5033362 100644 --- a/libs/VNLib.Plugins.Sessions.Memory/src/MemorySession.cs +++ b/libs/VNLib.Plugins.Sessions.Memory/src/MemorySession.cs @@ -104,9 +104,9 @@ namespace VNLib.Plugins.Sessions.Memory //Check for special keys switch (key) { - //For tokens/login hashes, we can set the upgrade flag - case TOKEN_ENTRY: + //For token/login hashes, we can set the upgrade flag case LOGIN_TOKEN_ENTRY: + case TOKEN_ENTRY: Flags.Set(REGEN_ID_MSK); break; } -- cgit