configure users registration
This commit is contained in:
parent
0afc37305c
commit
cfc0afdec8
1 changed files with 10 additions and 0 deletions
10
forgejo.nix
10
forgejo.nix
|
|
@ -52,6 +52,16 @@ in
|
|||
};
|
||||
service = {
|
||||
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
|
||||
actions = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue