User Registration block missing functions on user creation

Created on 18 May 2022, over 2 years ago
Updated 25 July 2023, over 1 year ago

Problem/Motivation

When a user submits the User Registration Form block, and is required to confirm their email... many functions don't work the same as core.

- Status Message says "The changes have been saved" instead of rendering the "A welcome message with further instructions has been sent to your email address."
- The user is automatically set to "Active" upon initial registration, instead of "Blocked" (until they click the confirmation link).
- Emails are not triggered and sent.

Steps to reproduce

1) Go to Account Settings in admin.
2) Under "Who can register accounts", set "visitors"
3) Under "Require email verification when a visitor creates an account", set "Require a verification email, but let users set their password directly on the registration form."
4) Save the Account Settings page.
5) Add a User Registration Form block to your page.
6) Fill out the registration fields, and create account.
7) Notice the issues mentioned above.

Proposed resolution

Not sure.

🐛 Bug report
Status

Active

Version

2.0

Component

Miscellaneous

Created by

🇺🇸United States chucksimply

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • 🇮🇳India roshni27

    1. Go to Configuration admin/config/people/accounts in the Drupal admin.
    2. In Registration and cancellation section select Visitors, but administrator approval is required and according to your need adjust settings.
    3. Scroll down to the "Email verification" section.
    Make sure that the "Require email verification when a visitor creates an account" option is set according to your needs. If enabled, the user will receive an email with a verification link before their account becomes active.
    Adjust other settings in this section as needed.
    Customize the email template:
    To customize the content and appearance of the email, you can use the "Configure" link next to the "Welcome (awaiting approval)" option in the "Email verification" section.
    Customize the subject and body of the email using tokens. You can use tokens like [user:name], [user:email], etc., to personalize the email content for each user.

    You can solve your issue by setting up everything in this way.

  • Status changed to Needs review over 1 year ago
  • 🇩🇪Germany Anybody Porta Westfalica
Production build 0.71.5 2024