mirror of https://github.com/zulip/zulip.git
generate_invite_links: Use realm host properly.
This commit is contained in:
parent
639dc9108d
commit
988a2e2d8e
|
@ -62,4 +62,4 @@ class Command(BaseCommand):
|
||||||
else:
|
else:
|
||||||
prereg_user = PreregistrationUser(email=email)
|
prereg_user = PreregistrationUser(email=email)
|
||||||
prereg_user.save()
|
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))
|
||||||
|
|
Loading…
Reference in New Issue