diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-27 11:38:08 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-27 11:38:08 +0700 |
| commit | 411e569f780bd80f21ffe4e803a2315f805d7fec (patch) | |
| tree | 3df000c27c851e8cf72aba16838bac87bab2dca2 /src | |
| parent | b58c5a555e5dec52222687649ca9c3f22798895e (diff) | |
no message
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/utils/auth.js | 5 |
1 files changed, 1 insertions, 4 deletions
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; } |
