mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
antispam: Don't let new accounts in open realms immediately send invites.
We haven't had a problem with this yet, but this should help prevent it.
This commit is contained in:
@@ -302,6 +302,11 @@ DEFAULT_SETTINGS.update({
|
||||
'MAX_ICON_FILE_SIZE': 5,
|
||||
'MAX_EMOJI_FILE_SIZE': 5,
|
||||
|
||||
# Limits to help prevent spam, in particular by sending invitations.
|
||||
#
|
||||
# A non-admin user who's joined an open realm this recently can't invite at all.
|
||||
'INVITES_MIN_USER_AGE_DAYS': 3,
|
||||
|
||||
# Controls for which links are published in portico footers/headers/etc.
|
||||
'EMAIL_DELIVERER_DISABLED': False,
|
||||
'REGISTER_LINK_DISABLED': None,
|
||||
|
||||
Reference in New Issue
Block a user