Merge pull request 'nextcloud: attempt to fix 'CSRF check failed'' () from fix-nextcloud-session into main

Reviewed-on: 
Reviewed-by: b12f <b12f@noreply.git.pub.solar>
This commit is contained in:
teutat3s 2025-04-07 18:12:03 +00:00
commit 39a7dd3af8
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

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";