linux:misc:change_zulip_users_email

Change Zulip users email address

su zulip
/home/zulip/deployments/current/manage.py shell
from zerver.models import UserProfile
user = UserProfile.objects.get(email="userNN@example.com")
user.email = "correct-email@example.com"
user.delivery_email = "correct-email@example.com"
user.save()
  • linux/misc/change_zulip_users_email.txt
  • Last modified: 2024/11/21 14:09
  • by tplecko