summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechknowlogick <hello@techknowlogick.com>2019-01-19 18:22:47 -0500
committerGitHub <noreply@github.com>2019-01-19 18:22:47 -0500
commit71c832e0432dde04ace8eb46a80c7add9819ec05 (patch)
tree6f3599c3b9f54adabba08d17e63313941da4d3f8
parentfba1f14779a45d378326de2606612d87437c49b7 (diff)
downloadgitea-71c832e0432dde04ace8eb46a80c7add9819ec05.tar.gz
gitea-71c832e0432dde04ace8eb46a80c7add9819ec05.zip
Add documentation for SHOW_REGISTRATION_BUTTON (#5778)
* Fix #5737
-rw-r--r--custom/conf/app.ini.sample2
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md1
2 files changed, 3 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 6fe3e984de..39513833e7 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -366,6 +366,8 @@ DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = true
; if he has set KeepEmailPrivate to true. The user's email will be replaced with a
; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
NO_REPLY_ADDRESS = noreply.example.org
+; Show Registration button
+SHOW_REGISTRATION_BUTTON = true
[webhook]
; Hook task queue length, increase if webhook shooting starts hanging
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index ed4fce2aa7..0a98774638 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -206,6 +206,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
- `ENABLE_USER_HEATMAP`: **true** Enable this to display the heatmap on users profiles.
- `EMAIL_DOMAIN_WHITELIST`: **\<empty\>**: If non-empty, list of domain names that can only be used to register
on this instance.
+- `SHOW_REGISTRATION_BUTTON`: **! DISABLE\_REGISTRATION**: Show Registration Button
## Webhook (`webhook`)