You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,9 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
216
216
Requires `Mailer` to be enabled.
217
217
-`DISABLE_REGISTRATION`: **false**: Disable registration, after which only admin can create
218
218
accounts for users.
219
+
-`REQUIRE_EXTERNAL_REGISTRATION_PASSWORD`: **false**: Enable this to force externally created
220
+
accounts (via GitHub, OpenID Connect, etc) to create a password. Warning: enabling this will
221
+
decrease security, so you should only enable it if you know what you're doing.
219
222
-`REQUIRE_SIGNIN_VIEW`: **false**: Enable this to force users to log in to view any page.
220
223
-`ENABLE_NOTIFY_MAIL`: **false**: Enable this to send e-mail to watchers of a repository when
221
224
something happens, like creating issues. Requires `Mailer` to be enabled.
@@ -225,6 +228,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
225
228
-`ENABLE_REVERSE_PROXY_EMAIL`: **false**: Enable this to allow to auto-registration with a
226
229
provided email rather than a generated email.
227
230
-`ENABLE_CAPTCHA`: **false**: Enable this to use captcha validation for registration.
231
+
-`REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA`: **false**: Enable this to force captcha validation
232
+
even for External Accounts (i.e. GitHub, OpenID Connect, etc). You must `ENABLE_CAPTCHA` also.
228
233
-`CAPTCHA_TYPE`: **image**: \[image, recaptcha\]
229
234
-`RECAPTCHA_SECRET`: **""**: Go to https://www.google.com/recaptcha/admin to get a secret for recaptcha.
230
235
-`RECAPTCHA_SITEKEY`: **""**: Go to https://www.google.com/recaptcha/admin to get a sitekey for recaptcha.
@@ -419,7 +424,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`
419
424
420
425
## Metrics (`metrics`)
421
426
422
-
-`ENABLED`: **false**: Enables /metrics endpoint for prometheus.
427
+
-`ENABLED`: **false**: Enables /metrics endpoint for prometheus.
423
428
-`TOKEN`: **\<empty\>**: You need to specify the token, if you want to include in the authorization the metrics . The same token need to be used in prometheus parameters `bearer_token` or `bearer_token_file`.
0 commit comments