diff --git a/package.json b/package.json index d9dbfae..189e9d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.0.13", + "version": "1.0.14", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": { diff --git a/users/logout-user.js b/users/logout-user.js index b14f29f..2fc2abe 100644 --- a/users/logout-user.js +++ b/users/logout-user.js @@ -10,7 +10,7 @@ module.exports = function ({ response }) { * * @description Check Encryption Keys */ - response.setHeader("Set-Cookie", ["datasquirelAuthKey=none;max-age=0", "usertype=none;max-age=0", `refresh_properties=1;Max-Age=7000`]); + response.setHeader("Set-Cookie", ["datasquirelAuthKey=null;samesite=strict;path=/;HttpOnly=true;Secure=true", "csrf=null;samesite=strict;path=/;HttpOnly=true"]); /** ********************************************** */ /** ********************************************** */