diff --git a/serversession/src/Web/ServerSession/Core/Internal.hs b/serversession/src/Web/ServerSession/Core/Internal.hs index 8c4d9c2..3ae6ad4 100644 --- a/serversession/src/Web/ServerSession/Core/Internal.hs +++ b/serversession/src/Web/ServerSession/Core/Internal.hs @@ -302,15 +302,15 @@ toSessionMap state Session {..} = -- | The session key used to signal that the session ID should be -- invalidated. forceInvalidateKey :: Text -forceInvalidateKey = "yesod-persistent-session-force-invalidate" +forceInvalidateKey = "serversession-force-invalidate" -- | Which session IDs should be invalidated. data ForceInvalidate = CurrentSessionId -- ^ Invalidate the current session ID. The current session - -- ID is automatically invalidated on @yesod-auth@ login and - -- logout. + -- ID is automatically invalidated on login and logout + -- (cf. 'setAuthKey'). | AllSessionIdsOfLoggedUser -- ^ Invalidate all session IDs beloging to the currently -- logged in user. Only the current session ID will be