summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-06-03 15:40:38 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-03 15:40:38 +0200
commit327d3f001f1cc219c4a718edf23b976c29c19487 (patch)
tree7fbc505601461f22eeeea6e966b9df5a43b4cafc /internal/config/defaults.go
parent[chore] Adds Issue templates to Github (#626) (diff)
downloadgotosocial-327d3f001f1cc219c4a718edf23b976c29c19487.tar.xz
[feature] Start adding advanced configuration options, starting with `samesite` (#628)
* fix incorrect port being used for db * start adding advanced config flags * use samesite lax by default
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index 75af21222..f9f0bdba9 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -87,4 +87,6 @@ var Defaults = Configuration{
SyslogEnabled: false,
SyslogProtocol: "udp",
SyslogAddress: "localhost:514",
+
+ AdvancedCookiesSamesite: "lax",
}