From 4a445edcb679345d6d730345a7d5cf39c8b70e6a Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 18 Nov 2024 06:06:24 -0500 Subject: No logout; let's redirect --- src/Auth.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Auth.js') diff --git a/src/Auth.js b/src/Auth.js index d9c21df..9d5060c 100644 --- a/src/Auth.js +++ b/src/Auth.js @@ -48,3 +48,7 @@ export const _getToken = (Just) => (Nothing) => (pair) => () => { export const _clearSessionCookie = () => { document.cookie = "authelia_session=; expires=Thu, 01 Jan 1970 00:00:00 GMT; SameSite=None; Secure"; }; + +export const getRedirect = (x) => { + return x.redirect; +}; -- cgit v1.2.3