From bb9e919406aa1b56e831cb07e7ea625246fbf53a Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Wed, 5 May 2021 14:58:23 +0100 Subject: [PATCH] Activate user when no activation is required --- CRM/Utils/System/Drupal8.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index a506c36b93..19705fe6ff 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -49,7 +49,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { if ($user_register_conf != 'visitors' && !$user->hasPermission('administer users')) { $account->block(); } - elseif ($verify_mail_conf) { + else { $account->activate(); } -- 2.25.1