mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
send_email: Add function to generate tokenized noreply in FromAddress.
This commit is contained in:
@@ -104,6 +104,7 @@ class ZulipTestCase(TestCase):
|
||||
'''
|
||||
DEFAULT_SUBDOMAIN = "zulip"
|
||||
DEFAULT_REALM = Realm.objects.get(string_id='zulip')
|
||||
TOKENIZED_NOREPLY_REGEX = settings.TOKENIZED_NOREPLY_EMAIL_ADDRESS.format(token="[a-z0-9_]{24}")
|
||||
|
||||
def set_http_host(self, kwargs: Dict[str, Any]) -> None:
|
||||
if 'subdomain' in kwargs:
|
||||
|
||||
Reference in New Issue
Block a user