mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
The `create_user` API and data import tools can result in our having active users in the database who haven't intentionally created a Zulip account or agreed to the ToS; we should never email such users. The check for `TOS_VERSION is not None` is necessary for the development environment, which has `TERMS_OF_SERVICE` set but not `TOS_VERSION`. It's likely that we will want this check in other places as well.
3.8 KiB
3.8 KiB