Skip to content

Commit

Permalink
skip email in case of drupal
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood authored and Muhammad Faraz Maqsood committed Mar 7, 2024
1 parent d820896 commit 69f13c2
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 @@ -269,7 +269,7 @@ def create_account_with_params(request, params): # pylint: disable=too-many-sta
user, running_pipeline, third_party_provider,
)

if skip_email:
if skip_email or is_drupal:
registration.activate()
else:
redirect_to, root_url = get_next_url_for_login_page(request, include_host=True)
Expand Down

0 comments on commit 69f13c2

Please sign in to comment.