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;
|
||||
stateDir = "/var/lib/forgejo";
|
||||
settings = {
|
||||
service.DISABLE_REGISTRATION = false;
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
DEFAULT.APP_NAME = "forgejo";
|
||||
log.LEVEL = "Debug";
|
||||
ui = {
|
||||
|
@ -34,6 +34,9 @@
|
|||
session = {
|
||||
COOKIE_SECURE = true;
|
||||
};
|
||||
security = {
|
||||
LOGIN_REMEMBER_DAYS = 14;
|
||||
};
|
||||
database = {
|
||||
DB_TYPE = lib.mkForce "postgres";
|
||||
HOST = "192.168.1.211:5432";
|
||||
|
|
Loading…
Reference in a new issue