nextcloud: attempt to fix CSRF check failed with

shorter session_lifetime
This commit is contained in:
teutat3s 2025-04-03 23:46:59 +02:00
parent 47502667f5
commit 8db9c98093
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -129,6 +129,12 @@
"memories.vod.ffprobe" = lib.getExe' pkgs.ffmpeg-headless "ffprobe";
auth.bruteforce.protection.enabled = true;
# 10 minutes, to ensure we have a valid Nextcloud session
# This should avoid 'CSRF check failed' error message when doing
# specific actions, like editing personal security settings
# https://help.nextcloud.com/t/nextcloud-not-logging-me-out-when-openid-session-expires/174117/8
# https://github.com/nextcloud/user_oidc/issues/743
session_lifetime = "60 * 10";
trashbin_retention_obligation = "auto,7";
skeletondirectory = "${pkgs.nextcloud-skeleton}/{lang}";
defaultapp = "file";