This commit is contained in:
Tben 2023-05-06 14:42:40 +01:00
parent aa38ec7d37
commit 6fc88741dd
2 changed files with 2 additions and 2 deletions

View File

@ -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": {

View File

@ -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"]);
/** ********************************************** */
/** ********************************************** */