gitea: keep login session alive for 30 days

This commit is contained in:
Shelvacu 2024-06-13 19:24:00 -07:00 committed by Colin
parent 52322e3207
commit dc2c31f220

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;