WordPress User Registration Without Password Requirement

In a previous tutorial, we learned how to build a WordPress user registration form without a username field. Sequel to that, we will be learning how to create a (front-end) registration form without a password field. That is, users will be able to register, signup or create an account without a password.

Process Overview

When a ProfilePress powered registration form without a password field is used to sign up users to a WordPress powered site, a password reset message is automatically sent to the user on successful completion of the registration process.

You could decide to disable the password reset email that is sent immediately after registration and instead, include the link for the user to reset their password in a crafted welcome message delivered to their email addresses.

Building the Registration Form

Open up the edit screen of the ProfilePress registration form you are using by clicking on its title in the WordPress backend and ensure the password block or shortcode (if you are using the advanced form builder) is removed.

WordPress user registration form without password field requirement

When users register on your WordPress site via this form, a password reset (or “forgot password”) email will immediately be sent to them.

Password reset email preview

You can disable the automatic password reset email that is sent by adding the code snippet below to your active theme’s functions.php file or a site-specific plugin.

add_filter('ppress_enable_auto_send_password_reset_flag', '__return_false');

And alternatively, allow the newly registered users to create their login password by including a “password reset link” in their welcome email.

To do this, go to Settings >> Emails >> Account Welcome Email and ensure it is enabled and include the placeholder for lost password link {{password_reset_link}} in the message.

Enable welcome email in WordPress

Conclusion

We hope we’ve been able to teach you how to build a custom WordPress registration form where users can sign up without being required to enter a password.

Create Paid Membership Websites in Minutes

Install ProfilePress today and get a modern and powerful WordPress membership & ecommerce website – the easy way!