Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
create_user: Add `savepoint=False` to avoid creating savepoints.
Prakhar Pratyush8c8cc8018319
diff --git a/zerver/actions/create_user.py b/zerver/actions/create_user.pyindex b0b6cef4158..297622dccfb 100644--- a/zerver/actions/create_user.py+++ b/zerver/actions/create_user.py@@ -659,7 +659,7 @@ def do_activate_mirror_dummy_user(if settings.BILLING_ENABLED:from corporate.lib.stripe import RealmBillingSession- with transaction.atomic():+ with transaction.atomic(savepoint=False):change_user_is_active(user_profile, True)user_profile.is_mirror_dummy = Falseuser_profile.set_unusable_password()