generate_invite_links: Use realm host properly.

This commit is contained in:
Tim Abbott 2016-12-14 10:46:45 -08:00
parent 639dc9108d
commit 988a2e2d8e
1 changed files with 1 additions and 1 deletions

View File

@ -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))