bundles/gitea: disable registration by default

This commit is contained in:
Franzi 2022-07-12 20:28:59 +02:00
parent 696377cfbc
commit 2a938d19f1
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ ENABLE_OPENID_SIGNUP = false
[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = false
DISABLE_REGISTRATION = ${str(disable_registration).lower()}
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false

View File

@ -12,6 +12,7 @@ defaults = {
'password': repo.vault.password_for('{} postgresql gitea'.format(node.name)),
'database': 'gitea',
},
'disable_registration': True,
'email_domain_blocklist': set(),
'enable_git_hooks': False,
'internal_token': repo.vault.password_for('{} gitea internal_token'.format(node.name)),