From de96a3d081aafe74ebd64036367c36a6c5b33699 Mon Sep 17 00:00:00 2001 From: J S <49557684+svilupp@users.noreply.github.com> Date: Mon, 20 Nov 2023 17:29:55 +0000 Subject: [PATCH] Fix invalid session key Fixes https://github.com/GenieFramework/Stipple.jl/issues/242 --- src/Stipple.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stipple.jl b/src/Stipple.jl index 62b7ed31..39daf34b 100644 --- a/src/Stipple.jl +++ b/src/Stipple.jl @@ -466,7 +466,7 @@ function init(::Type{M}; try haskey(payload, "sesstoken") && ! isempty(payload["sesstoken"]) && - Genie.Router.params!(:session, + Genie.Router.params!(Stipple.ModelStorage.Sessions.GenieSession.PARAMS_SESSION_KEY, Stipple.ModelStorage.Sessions.GenieSession.load(payload["sesstoken"] |> Genie.Encryption.decrypt)) catch ex @error ex