bundles/gitea: disable registration by default
This commit is contained in:
parent
696377cfbc
commit
2a938d19f1
2 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@ ENABLE_OPENID_SIGNUP = false
|
||||||
[service]
|
[service]
|
||||||
REGISTER_EMAIL_CONFIRM = true
|
REGISTER_EMAIL_CONFIRM = true
|
||||||
ENABLE_NOTIFY_MAIL = true
|
ENABLE_NOTIFY_MAIL = true
|
||||||
DISABLE_REGISTRATION = false
|
DISABLE_REGISTRATION = ${str(disable_registration).lower()}
|
||||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
||||||
ENABLE_CAPTCHA = false
|
ENABLE_CAPTCHA = false
|
||||||
REQUIRE_SIGNIN_VIEW = false
|
REQUIRE_SIGNIN_VIEW = false
|
||||||
|
|
|
@ -12,6 +12,7 @@ defaults = {
|
||||||
'password': repo.vault.password_for('{} postgresql gitea'.format(node.name)),
|
'password': repo.vault.password_for('{} postgresql gitea'.format(node.name)),
|
||||||
'database': 'gitea',
|
'database': 'gitea',
|
||||||
},
|
},
|
||||||
|
'disable_registration': True,
|
||||||
'email_domain_blocklist': set(),
|
'email_domain_blocklist': set(),
|
||||||
'enable_git_hooks': False,
|
'enable_git_hooks': False,
|
||||||
'internal_token': repo.vault.password_for('{} gitea internal_token'.format(node.name)),
|
'internal_token': repo.vault.password_for('{} gitea internal_token'.format(node.name)),
|
||||||
|
|
Loading…
Reference in a new issue