As a part of user account creation improvements and #2386793: Modify user role progression on Drupal.org we are going to install LoginToboggan on Drupal.org. The main goal of doing this is to let new users log in immediately after they register.
This has been configured and tested on a dev site.

Deployment instructions

  1. Merge the pull request on Bitbucket to add Login Toboggan to the make file.
  2. Enable the logintoboggan module.
  3. drush vset user_email_verification 0
  4. Set the Welcome (no approval required) email:
    Welcome to the Drupal Community, [user:name]!
    You have an account, Now what?
    
    Please validate your email visiting this link: [user:validate-url]
    
    You can also add some details to your profile to tell the community who you are.
    
    
    ** Come for the software **
    
    Get started with Drupal: http://drupal.org/start
    
    Find a host for your website: http://drupal.org/hosting
    
    Learn more with professional training: http://drupal.org/training-services
    
    
    ** Stay for the Community **
    
    Meet our community http://drupal.org/community and the Drupal Association https://assoc.drupal.org
    
    Get Involved with the project: http://drupal.org/getting-involved
    
    Find local user group near you: http://groups.drupal.org
    
    Attend an upcoming meetup, camp, or DrupalCon! http://groups.drupal.org/events
    
    Join the conversation: Get on IRC (http://drupal.org/irc) to meet the people behind Drupal
    Visit #drupal for general chit-chat
    Visit #drupal-support if you need some hand-holding
    Visit #drupal-contribute if you want to contribute to Drupal and see what people are working on
    
    Follow @Drupal https://twitter.com/drupal and @DrupalAssoc https://twitter.com/DrupalAssoc on Twitter.
    
    Find us on Facebook: https://www.facebook.com/pages/Drupal/8427738891
    
    Subscribe to Drupal Mailing Lists http://drupal.org/mailing-lists and the Drupal Association Newsletter https://assoc.drupal.org
    
    Become a Drupal Association Member https://assoc.drupal.org/membership - and support community initiatives like DrupalCon, DrupalCon Scholarships, Community grants, Drupal.org infrastructure and more.
    
    We look forward to having you as a part of Drupal.

Description

Here is an export of the settings from settings.local.php:

// Login using email address.
$conf['logintoboggan_login_with_email'] = TRUE;

// Use two e-mail fields on registration form.
$conf['logintoboggan_confirm_email_at_registration'] = TRUE;

// Set password.
$conf['logintoboggan_user_email_verification'] = FALSE;

// Automatically login.
$conf['logintoboggan_immediate_login_on_register'] = TRUE;

// Present a unified login/registration page.
$conf['logintoboggan_unified_login'] = FALSE;

// Non-authenticated role.
$conf['logintoboggan_pre_auth_role'] = variable_get('drupalorg_user_email_unverified_role');

$conf['logintoboggan_unified_login'] is left from prior experimentation with this setting, and can either be ignored or added as FALSE is the default value.

Comments

opdavies’s picture

Issue summary: View changes
tvn’s picture

Title: Configure LoginToboggan on Drupal.org » Install and configure LoginToboggan on Drupal.org
Project: Drupal.org site moderators » Drupal.org customizations
Version: » 7.x-3.x-dev
Component: Spam » Code
Issue summary: View changes
Status: Active » Needs work
Issue tags: +drupal.org account creation
Parent issue: » #2386793: Modify user role progression on Drupal.org

Moved and added some context to the issue.

opdavies’s picture

Issue summary: View changes
drumm’s picture

Issue summary: View changes

I committed most of the variables to settings.php, https://bitbucket.org/drupalorg-infrastructure/drupal.org/commits/f4c858.... I expect some may move to settings.common.php as we get this running with Puppet.

I omitted

// Non-authenticated role.
$conf['logintoboggan_pre_auth_role'] = variable_get('drupalorg_user_email_unverified_role');

Since we don't have drupalorg_user_email_unverified_role set yet, and the default parameter for variable_get is missing.

Any reason not to remove drupalorg_user_email_unverified_role completely, and always use logintoboggan_pre_auth_role?

drumm’s picture

Status: Needs work » Postponed

https://bitbucket.org/drupalorg-infrastructure/drupal.org/commits/b1e910... sets $conf['logintoboggan_pre_auth_role'].

Let's leave out $conf['logintoboggan_unified_login'], keeping it at the default off.

Postponing pending more work. logintoboggan_pre_auth_role needs to be synced to subsites before we can try enabling the module.

drumm’s picture

Issue summary: View changes

  • drumm committed ad6afa3 on 7.x-3.x
    Issue #2399721: Merge branch '2399721-logintoboggan' into dev
    
drumm’s picture

logintoboggan_pre_auth_role is now set up on all Drupal.org sites. To be able to assign permissions properly, the subsites do need LoginToboggan enabled. This will be done over the next few days, and we can enable it on Drupal.org early next week.

drumm’s picture

Issue summary: View changes

LoginToboggan is now enabled on assoc, api, infrastructure, groups, localize, and qa.

It is configured on security, and ready to enable Monday.

That leaves jobs, events, and latinamerica2015, which are in-progress. We should be able to get it on Drupal.org Monday or Tuesday.

drumm’s picture

Status: Postponed » Needs work
drumm’s picture

Status: Needs work » Reviewed & tested by the community
Issue tags: +needs drupal.org deployment

The necessary work has been done on subsites, so we can enable this later today. Tentatively 2 hours from now.

It is currently enabled on staging.

drumm’s picture

Issue summary: View changes
drumm’s picture

Issue summary: View changes
drumm’s picture

Issue summary: View changes
drumm’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -needs drupal.org deployment

Now deployed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.