adds template variable for SHOW_REGISTRATION_BUTTON
This commit is contained in:
parent
8837b4522b
commit
b2a6429823
2 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ gitea_internal_token: SomethingVeryLong
|
||||||
gitea_show_user_email: false
|
gitea_show_user_email: false
|
||||||
gitea_disable_gravatar: true
|
gitea_disable_gravatar: true
|
||||||
gitea_disable_registration: false
|
gitea_disable_registration: false
|
||||||
|
gitea_show_registration_button: true
|
||||||
gitea_require_signin: true
|
gitea_require_signin: true
|
||||||
gitea_enable_captcha: true
|
gitea_enable_captcha: true
|
||||||
|
|
||||||
|
|
|
@ -383,7 +383,7 @@ DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = true
|
||||||
; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
|
; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
|
||||||
NO_REPLY_ADDRESS = noreply.example.org
|
NO_REPLY_ADDRESS = noreply.example.org
|
||||||
; Show Registration button
|
; Show Registration button
|
||||||
SHOW_REGISTRATION_BUTTON = false
|
SHOW_REGISTRATION_BUTTON = {{ gitea_show_registration_button }}
|
||||||
; Default value for AutoWatchNewRepos
|
; Default value for AutoWatchNewRepos
|
||||||
; When adding a repo to a team or creating a new repo all team members will watch the
|
; When adding a repo to a team or creating a new repo all team members will watch the
|
||||||
; repo automatically if enabled
|
; repo automatically if enabled
|
||||||
|
|
Loading…
Reference in a new issue