Skip to content

Build your personal knowledge base with Trilium Notes

test(config): add custom cookieMaxAge for now

Panagiotis Papadopoulos55e2abc7decb
diff --git a/integration-tests/db/config.ini b/integration-tests/db/config.ini
index ac5c26ff20..e43b459dd0 100644
--- a/integration-tests/db/config.ini
+++ b/integration-tests/db/config.ini
@@ -27,3 +27,8 @@ keyPath=
# once set, expressjs will use the X-Forwarded-For header set by the rev. proxy to determinate the real IPs of clients.
# expressjs shortcuts are supported: loopback(127.0.0.1/8, ::1/128), linklocal(169.254.0.0/16, fe80::/10), uniquelocal(10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7)
trustedReverseProxy=false
+
+[Session]
+# Default value is 1814400 Seconds, which is 21 Days.
+# For integration test we set the value to just 86400 seconds, which is 1 Day
+cookieMaxAge=86400
\ No newline at end of file