mirror of https://github.com/zulip/zulip.git
Fix banish_broken tool.
(imported from commit 505c4a86ab106abab4c36af7c5f67c955f143c1d)
This commit is contained in:
parent
834c812a14
commit
4198dc74f1
|
@ -13,7 +13,7 @@ def banish_busted_users(change=False):
|
||||||
print u.user.email
|
print u.user.email
|
||||||
if change:
|
if change:
|
||||||
u.realm = banished_realm
|
u.realm = banished_realm
|
||||||
u.user.email = u.user.email.split("@")[0] + "@" + banished_realm
|
u.user.email = u.user.email.split("@")[0] + "@" + banished_realm.domain
|
||||||
u.user.save()
|
u.user.save()
|
||||||
u.save()
|
u.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue