extend cookie length
This commit is contained in:
@@ -18,7 +18,8 @@ export const actions = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cookies.set('token', token, {
|
cookies.set('token', token, {
|
||||||
path: '/'
|
path: '/',
|
||||||
|
maxAge: 60 * 60 * 24 * 7,
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user