mirror of https://github.com/zulip/zulip.git
feb2cdf378
Issue: When you created a new organization with /new, the "new login" emails were emailed. We previously had a hack of adding the .just_registered property to the user Python object to attempt to prevent the emails, and checking that in zerver/signals.py. This commit gets rid of the .just_registered check. Instead of the .just_registered check, this checks if the user has joined more than a minute before. A test test_dont_send_login_emails_for_new_user_registration_logins already exists. Tweaked by tabbott to introduce the constant JUST_CREATED_THRESHOLD. Fixes #10179. |
||
---|---|---|
.. | ||
__init__.py | ||
alert_words.py | ||
archive.py | ||
attachments.py | ||
auth.py | ||
compatibility.py | ||
custom_profile_fields.py | ||
email_log.py | ||
email_mirror.py | ||
events_register.py | ||
home.py | ||
hotspots.py | ||
integrations.py | ||
invite.py | ||
messages.py | ||
muting.py | ||
pointer.py | ||
presence.py | ||
push_notifications.py | ||
reactions.py | ||
realm.py | ||
realm_domains.py | ||
realm_emoji.py | ||
realm_filters.py | ||
realm_icon.py | ||
registration.py | ||
report.py | ||
storage.py | ||
streams.py | ||
submessage.py | ||
thumbnail.py | ||
tutorial.py | ||
typing.py | ||
unsubscribe.py | ||
upload.py | ||
user_groups.py | ||
user_settings.py | ||
users.py | ||
zephyr.py |