Merge branch 'hotfix/v2.0.20'

This commit is contained in:
zkldi
2021-12-24 01:27:13 +00:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tachi-server",
"version": "2.0.19",
"version": "2.0.20",
"description": "A score tracking server.",
"main": "js/index.js",
"private": true,
+1 -1
View File
@@ -4,7 +4,7 @@
const MAJOR = 2;
const MINOR = 0;
const PATCH = 19;
const PATCH = 20;
// As is with all front-facing zkldi projects, the version names for tachi-server
// are from an album I like. In this case, the album is Portishead - Dummy.
+1 -1
View File
@@ -37,7 +37,7 @@ const userSessionMiddleware = expressSession({
saveUninitialized: false,
cookie: {
secure: Environment.nodeEnv === "production" || ServerConfig.ENABLE_SERVER_HTTPS,
sameSite: "lax", // Very important. Without this, we're vulnerable to CSRF!
sameSite: "strict", // Very important. Without this, we're vulnerable to CSRF!
},
});