I checked the codebase and noticed that it has been specifically coded to not...

Contribution Date
Technology
Contribution Project
Contribution Details

I checked the codebase and noticed that it has been specifically coded to not take any action if account verification or checking email on registration is enabled.

// Save parameter to user entity, which will allow us understand that user // is just created. Do not need to save parameter, when needs verification // by administrator. $needs_verification = \Drupal::config('user.settings')->get('verify_mail'); if ($needs_verification || !$entity->isActive()) { return; } $entity->user_is_new = TRUE;

Not sure what was the intention behind doing this and whether we should change it now so that users are redirected to configured page after registering on the website. As of now we should document that login after registration only works when user doesn't require checking email or admin approval.

Issue Status
Active
Contribution Author
Files count
0
Patches count
0