gitea: keep login session alive for 30 days #2

Closed
shelvacu wants to merge 1 commits from shelvacu/colins-nix-files:extend-gitea-session into master

View File

@ -50,7 +50,11 @@
ENABLE_CAPTCHA = true;
NOREPLY_ADDRESS = "noreply.anonymous.git@uninsane.org";
};
session.COOKIE_SECURE = true;
session = {
COOKIE_SECURE = true;
# keep me logged in for 30 days
SESSION_LIFE_TIME = 60 * 60 * 24 * 30;
};
repository = {
DEFAULT_BRANCH = "master";
ENABLE_PUSH_CREATE_USER = true;