From 71c832e0432dde04ace8eb46a80c7add9819ec05 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sat, 19 Jan 2019 18:22:47 -0500 Subject: [PATCH] Add documentation for SHOW_REGISTRATION_BUTTON (#5778) * Fix #5737 --- custom/conf/app.ini.sample | 2 ++ docs/content/doc/advanced/config-cheat-sheet.en-us.md | 1 + 2 files changed, 3 insertions(+) diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index 6fe3e984de4..39513833e72 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 ed4fce2aa74..0a98774638f 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`: **\**: 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`)