gitea: keep login session alive for 30 days
This commit is contained in:
parent
52322e3207
commit
dc2c31f220
|
@ -50,7 +50,11 @@
|
||||||
ENABLE_CAPTCHA = true;
|
ENABLE_CAPTCHA = true;
|
||||||
NOREPLY_ADDRESS = "noreply.anonymous.git@uninsane.org";
|
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 = {
|
repository = {
|
||||||
DEFAULT_BRANCH = "master";
|
DEFAULT_BRANCH = "master";
|
||||||
ENABLE_PUSH_CREATE_USER = true;
|
ENABLE_PUSH_CREATE_USER = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user