mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 05:02:10 +00:00
allow registration and public repo viewing
This commit is contained in:
parent
c113ca0d23
commit
fbfc617804
1 changed files with 3 additions and 8 deletions
|
|
@ -38,7 +38,6 @@ in
|
||||||
"credential.helper" = "store --file ${gitCredentialFile}";
|
"credential.helper" = "store --file ${gitCredentialFile}";
|
||||||
};
|
};
|
||||||
repository = {
|
repository = {
|
||||||
FORCE_PRIVATE = true;
|
|
||||||
DEFAULT_PRIVATE = "private";
|
DEFAULT_PRIVATE = "private";
|
||||||
DEFAULT_PUSH_CREATE_PRIVATE = true;
|
DEFAULT_PUSH_CREATE_PRIVATE = true;
|
||||||
};
|
};
|
||||||
|
|
@ -49,14 +48,10 @@ in
|
||||||
SSH_DOMAIN = forgejoDomain;
|
SSH_DOMAIN = forgejoDomain;
|
||||||
};
|
};
|
||||||
service = {
|
service = {
|
||||||
DISABLE_REGISTRATION = true;
|
DISABLE_REGISTRATION = false;
|
||||||
REQUIRE_SIGNIN_VIEW = true;
|
REQUIRE_SIGNIN_VIEW = false;
|
||||||
# New users created by admin are restricted by default:
|
DEFAULT_USER_IS_RESTRICTED = false;
|
||||||
# they see nothing until explicitly added as collaborators.
|
|
||||||
DEFAULT_USER_IS_RESTRICTED = true;
|
|
||||||
# Require email confirmation when admin creates accounts
|
|
||||||
REGISTER_EMAIL_CONFIRM = true;
|
REGISTER_EMAIL_CONFIRM = true;
|
||||||
# Admin gets notified when new accounts are created
|
|
||||||
SEND_NOTIFICATION_EMAIL_ON_NEW_USER = true;
|
SEND_NOTIFICATION_EMAIL_ON_NEW_USER = true;
|
||||||
};
|
};
|
||||||
mailer = {
|
mailer = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue