diff --git a/openedx/core/djangoapps/user_authn/views/register.py b/openedx/core/djangoapps/user_authn/views/register.py index 0d0390d9deaa..c494f8e015c2 100644 --- a/openedx/core/djangoapps/user_authn/views/register.py +++ b/openedx/core/djangoapps/user_authn/views/register.py @@ -217,7 +217,7 @@ def create_account_with_params(request, params): # pylint: disable=too-many-sta is_marketable = params.get('marketing_emails_opt_in') in ['true', '1'] # Perform operations within a transaction that are critical to account creation - with transaction.atomic(): + with outer_atomic(): # first, create the account (user, profile, registration) = do_create_account(form, custom_form)