configure users registration
parent
0afc37305c
commit
cfc0afdec8
10
forgejo.nix
10
forgejo.nix
|
@ -52,6 +52,16 @@ in
|
||||||
};
|
};
|
||||||
service = {
|
service = {
|
||||||
DISABLE_REGISTRATION = true;
|
DISABLE_REGISTRATION = true;
|
||||||
|
ACTIVE_CODE_LIVE_MINUTES = 1440;
|
||||||
|
RESET_PASSWD_CODE_LIVE_MINUTES = 1440;
|
||||||
|
ENABLE_NOTIFY_MAIL = true;
|
||||||
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = false;
|
||||||
|
DEFAULT_USER_IS_RESTRICTED = true;
|
||||||
|
DEFAULT_USER_VISIBILITY = "private";
|
||||||
|
DEFAULT_ORG_VISIBILITY = "private";
|
||||||
|
};
|
||||||
|
"service.explore" = {
|
||||||
|
DISABLE_USERS_PAGE = true;
|
||||||
};
|
};
|
||||||
# Add support for actions, based on act: https://github.com/nektos/act
|
# Add support for actions, based on act: https://github.com/nektos/act
|
||||||
actions = {
|
actions = {
|
||||||
|
|
Loading…
Reference in New Issue