summaryrefslogtreecommitdiff
path: root/src/Auth.js
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-11-18 06:06:24 -0500
committerLLLL Colonq <llll@colonq>2024-11-18 06:06:24 -0500
commit4a445edcb679345d6d730345a7d5cf39c8b70e6a (patch)
tree994693bf293ce1cc584d445c55c859261e4beebe /src/Auth.js
parent229bbf710df29809b7fe0068c45d2c47a1908598 (diff)
No logout; let's redirect
Diffstat (limited to 'src/Auth.js')
-rw-r--r--src/Auth.js4
1 files changed, 4 insertions, 0 deletions
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;
+};