update
This commit is contained in:
@@ -12,7 +12,7 @@ export default defineEventHandler(async (event) => {
|
||||
setCookie(event, 'token', data.token, {
|
||||
httpOnly: true,
|
||||
secure: true,
|
||||
maxAge: 60 * 60 * 24 * 7, // 1 week
|
||||
maxAge: 60 * 60 * 24 * 7 , // 1 week
|
||||
path: '/'
|
||||
})
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user