forgejo: increase login ttl / disable signups
This commit is contained in:
parent
7d7f6f4407
commit
beb87f47a6
1 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
stateDir = "/var/lib/forgejo";
|
stateDir = "/var/lib/forgejo";
|
||||||
settings = {
|
settings = {
|
||||||
service.DISABLE_REGISTRATION = false;
|
service.DISABLE_REGISTRATION = true;
|
||||||
DEFAULT.APP_NAME = "forgejo";
|
DEFAULT.APP_NAME = "forgejo";
|
||||||
log.LEVEL = "Debug";
|
log.LEVEL = "Debug";
|
||||||
ui = {
|
ui = {
|
||||||
|
@ -34,6 +34,9 @@
|
||||||
session = {
|
session = {
|
||||||
COOKIE_SECURE = true;
|
COOKIE_SECURE = true;
|
||||||
};
|
};
|
||||||
|
security = {
|
||||||
|
LOGIN_REMEMBER_DAYS = 14;
|
||||||
|
};
|
||||||
database = {
|
database = {
|
||||||
DB_TYPE = lib.mkForce "postgres";
|
DB_TYPE = lib.mkForce "postgres";
|
||||||
HOST = "192.168.1.211:5432";
|
HOST = "192.168.1.211:5432";
|
||||||
|
|
Loading…
Reference in a new issue