mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
improve default privacy rules
This commit is contained in:
parent
cb90678b74
commit
ff2cfb1edc
3 changed files with 3 additions and 0 deletions
|
@ -155,6 +155,7 @@ Here is a deeper insight into the variables of this gitea role. For the exact fu
|
||||||
| `gitea_disable_registration` | `false` | Do you want to disable user registration? (true/false) |
|
| `gitea_disable_registration` | `false` | Do you want to disable user registration? (true/false) |
|
||||||
| `gitea_register_email_confirm` | `false` | Enable this to ask for mail confirmation of registration. Requires `gitea_mailer_enabled` to be enabled. |
|
| `gitea_register_email_confirm` | `false` | Enable this to ask for mail confirmation of registration. Requires `gitea_mailer_enabled` to be enabled. |
|
||||||
| `gitea_require_signin` | `true` | Do you require a signin to see repo's (even public ones)? (true/false)|
|
| `gitea_require_signin` | `true` | Do you require a signin to see repo's (even public ones)? (true/false)|
|
||||||
|
| `gitea_default_keep_mail_private` | `true` | By default set users to keep their email address privat |
|
||||||
| `gitea_enable_captcha` | `true` | Do you want to enable captcha's ? (true/false)|
|
| `gitea_enable_captcha` | `true` | Do you want to enable captcha's ? (true/false)|
|
||||||
| `gitea_show_registration_button` | `true` | Here you can hide the registration button. This will not disable registration! (true/false)|
|
| `gitea_show_registration_button` | `true` | Here you can hide the registration button. This will not disable registration! (true/false)|
|
||||||
| `gitea_only_allow_external_registration` | `false` | Set to true to force registration only using third-party services (true/false) |
|
| `gitea_only_allow_external_registration` | `false` | Set to true to force registration only using third-party services (true/false) |
|
||||||
|
|
|
@ -88,6 +88,7 @@ gitea_security_extra_config: ''
|
||||||
gitea_disable_registration: false
|
gitea_disable_registration: false
|
||||||
gitea_register_email_confirm: false
|
gitea_register_email_confirm: false
|
||||||
gitea_require_signin: true
|
gitea_require_signin: true
|
||||||
|
gitea_default_keep_mail_private: true
|
||||||
gitea_enable_captcha: true
|
gitea_enable_captcha: true
|
||||||
gitea_show_registration_button: true
|
gitea_show_registration_button: true
|
||||||
gitea_only_allow_external_registration: false
|
gitea_only_allow_external_registration: false
|
||||||
|
|
|
@ -99,6 +99,7 @@ PASSWORD_CHECK_PWN = {{ gitea_password_check_pwn | ternary('true', 'false') }}
|
||||||
DISABLE_REGISTRATION = {{ gitea_disable_registration | ternary('true', 'false') }}
|
DISABLE_REGISTRATION = {{ gitea_disable_registration | ternary('true', 'false') }}
|
||||||
REGISTER_EMAIL_CONFIRM = {{ gitea_register_email_confirm | ternary('true', 'false') }}
|
REGISTER_EMAIL_CONFIRM = {{ gitea_register_email_confirm | ternary('true', 'false') }}
|
||||||
REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin | ternary('true', 'false') }}
|
REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin | ternary('true', 'false') }}
|
||||||
|
DEFAULT_KEEP_EMAIL_PRIVATE = {{ gitea_default_keep_mail_private | ternary('true', 'false') }}
|
||||||
ENABLE_CAPTCHA = {{ gitea_enable_captcha | ternary('true', 'false') }}
|
ENABLE_CAPTCHA = {{ gitea_enable_captcha | ternary('true', 'false') }}
|
||||||
SHOW_REGISTRATION_BUTTON = {{ gitea_show_registration_button | ternary('true', 'false') }}
|
SHOW_REGISTRATION_BUTTON = {{ gitea_show_registration_button | ternary('true', 'false') }}
|
||||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ gitea_only_allow_external_registration | ternary('true', 'false') }}
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ gitea_only_allow_external_registration | ternary('true', 'false') }}
|
||||||
|
|
Loading…
Reference in a new issue