linux:misc:change_zulip_users_email

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:misc:change_zulip_users_email [2024/11/21 13:42] – created tpleckolinux:misc:change_zulip_users_email [2024/11/21 14:09] (current) tplecko
Line 6: Line 6:
 <code python> <code python>
 from zerver.models import UserProfile from zerver.models import UserProfile
-user = UserProfile.objects.get(email="userNN@chat.gamepires.com"+user = UserProfile.objects.get(email="userNN@example.com"
-user.email = "correct-email@gamepires.com"+user.email = "correct-email@example.com" 
 +user.delivery_email = "correct-email@example.com"
 user.save() user.save()
 </code> </code>
  • linux/misc/change_zulip_users_email.txt
  • Last modified: 2024/11/21 14:09
  • by tplecko