legacy-knowledge-base
公開されました Jun. 30, 2025

Creating a User Account Without an Email Address

written-by

Ally McGill

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • How can I create a user without requiring the user to have an email address? 

Environment

  • Liferay Quarterly Releases

Resolution

  • You can create a user without requiring an email address by setting the following properties in the portal-ext.properties file.
users.email.address.required=false 
users.email.address.auto.suffix=@no-emailaddress.com 
users.email.address.generator=com.liferay.portal.security.auth.DefaultEmailAddressGenerator

Additional Information

 

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base