1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

adds template variable for SHOW_REGISTRATION_BUTTON

This commit is contained in:
Mathias Merscher 2019-03-10 14:40:33 +01:00 committed by Thomas Maurice
parent 8837b4522b
commit b2a6429823
2 changed files with 2 additions and 1 deletions

View file

@ -33,6 +33,7 @@ gitea_internal_token: SomethingVeryLong
gitea_show_user_email: false
gitea_disable_gravatar: true
gitea_disable_registration: false
gitea_show_registration_button: true
gitea_require_signin: true
gitea_enable_captcha: true

View file

@ -383,7 +383,7 @@ DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = true
; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
NO_REPLY_ADDRESS = noreply.example.org
; Show Registration button
SHOW_REGISTRATION_BUTTON = false
SHOW_REGISTRATION_BUTTON = {{ gitea_show_registration_button }}
; Default value for AutoWatchNewRepos
; When adding a repo to a team or creating a new repo all team members will watch the
; repo automatically if enabled