summaryrefslogtreecommitdiff
path: root/src/Auth.js
diff options
context:
space:
mode:
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;
+};