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
@@ -133,8 +134,11 @@ There are multiple things you can combine to prevent spammers.
133
134
2. Setting `ENABLE_CAPTCHA` to `true` in your `app.ini` and properly configuring `RECAPTCHA_SECRET` and `RECAPTCHA_SITEKEY`
134
135
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
135
136
136
-
### Only allow/block certain email domains
137
-
If using OpenID, you can configure `WHITELISTED_URIS` or `BLACKLISTED_URIS` in your `app.ini`
137
+
### Only allow certain email domains
138
+
You can configure `EMAIL_DOMAIN_WHITELIST` in your app.ini under `[service]`
139
+
140
+
### Only allow/block certain OpenID providers
141
+
You can configure `WHITELISTED_URIS` or `BLACKLISTED_URIS` under `[openid]` in your `app.ini`
138
142
**NOTE:** whitelisted takes precedence, so if it is non-blank then blacklisted is ignored
0 commit comments