Skip to content

Commit c96077e

Browse files
committed
faq: separate openid from allow/block email domain
Signed-off-by: Mikaela Suomalainen <[email protected]>
1 parent a8acca6 commit c96077e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/content/doc/help/faq.en-us.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,11 @@ There are multiple things you can combine to prevent spammers.
133133
2. Setting `ENABLE_CAPTCHA` to `true` in your `app.ini` and properly configuring `RECAPTCHA_SECRET` and `RECAPTCHA_SITEKEY`
134134
3. Settings `DISABLE_REGISTRATION` to `true` and creating new users via the [CLI]({{< relref "doc/usage/command-line.en-us.md" >}}), [API]({{< relref "doc/advanced/api-usage.en-us.md" >}}), or Gitea's Admin UI
135135

136-
### Only allow/block certain email domains
137-
You can configure `EMAIL_DOMAIN_WHITELIST` in your app.ini under `[service]`. If using OpenID, you can configure `WHITELISTED_URIS` or `BLACKLISTED_URIS` in your `app.ini`
136+
### Only allow certain email domains
137+
You can configure `EMAIL_DOMAIN_WHITELIST` in your app.ini under `[service]`.
138+
139+
## Only allow/block certain OpenID providers
140+
You can configure `WHITELISTED_URIS` or `BLACKLISTED_URIS` under `[openid]` in your `app.ini`
138141
**NOTE:** whitelisted takes precedence, so if it is non-blank then blacklisted is ignored
139142

140143
### Issue only users

0 commit comments

Comments
 (0)