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:
Greg Price
2017-12-04 21:31:21 -08:00
committed by Tim Abbott
parent 5edbcb87fd
commit 6d35a697af
3 changed files with 18 additions and 0 deletions

View File

@@ -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,