-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Activate user when no activation is required #20229
Conversation
(Standard links)
|
CRM/Utils/System/Drupal8.php
Outdated
@@ -49,7 +49,7 @@ public function createUser(&$params, $mail) { | |||
if ($user_register_conf != 'visitors' && !$user->hasPermission('administer users')) { | |||
$account->block(); | |||
} | |||
elseif ($verify_mail_conf) { | |||
elseif { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elseif { | |
else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed, you are really quick. I was about to push the change
@pradpnayak @MikeyMJCO can we get a bit more explanation on this PR - it seems to be agreed between you which is fairly compelling to me but the explanation is lacking |
@pradpnayak @MikeyMJCO ping |
Before - there’s no way to create an active user with email validation enabled in Drupal. After - any user created on a site that doesn’t require admin approval is active. |
Thanks I added that into the template & am taking that as your please-merge review |
Overview
https://chat.civicrm.org/civicrm/pl/pda9f67bofn17decw35jpztf1h
Before
Before - there’s no way to create an active user with email validation enabled in Drupal.
After
After - any user created on a site that doesn’t require admin approval is active.
Technical Details
Comments