From 411e569f780bd80f21ffe4e803a2315f805d7fec Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 27 Jan 2023 11:38:08 +0700 Subject: no message --- src/core/utils/auth.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/core/utils/auth.js') diff --git a/src/core/utils/auth.js b/src/core/utils/auth.js index 2ae5e05f..62eba2c0 100644 --- a/src/core/utils/auth.js +++ b/src/core/utils/auth.js @@ -10,10 +10,7 @@ const getAuth = () => { } const setAuth = (user) => { - setCookie('auth', JSON.stringify(user), { - sameSite: 'none', - secure: true - }); + setCookie('auth', JSON.stringify(user)); return true; } -- cgit v1.2.3