mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
generate_invite_links: Use realm host properly.
This commit is contained in:
@@ -62,4 +62,4 @@ class Command(BaseCommand):
|
||||
else:
|
||||
prereg_user = PreregistrationUser(email=email)
|
||||
prereg_user.save()
|
||||
print(email + ": " + Confirmation.objects.get_link_for_object(prereg_user))
|
||||
print(email + ": " + Confirmation.objects.get_link_for_object(prereg_user, host=realm.host))
|
||||
|
||||
Reference in New Issue
Block a user