Skip to content

Commit

Permalink
Revert "perf!: allow calling register view in another view (#423)"
Browse files Browse the repository at this point in the history
This reverts commit d303cec.
  • Loading branch information
Faraz32123 authored Sep 27, 2023
1 parent d303cec commit dd967cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/user_authn/views/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit dd967cb

Please sign in to comment.