From 69f13c2781a6a22f4f275f91c1842b12e78643a1 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Thu, 7 Mar 2024 15:37:05 +0500 Subject: [PATCH] skip email in case of drupal --- openedx/core/djangoapps/user_authn/views/register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_authn/views/register.py b/openedx/core/djangoapps/user_authn/views/register.py index 05ceba0f3cb2..c342cd96deba 100644 --- a/openedx/core/djangoapps/user_authn/views/register.py +++ b/openedx/core/djangoapps/user_authn/views/register.py @@ -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)