Hello Guys
Liferay provide functionality to create user without email address.
Here, we need to set user email rquired property to false in portal-ext.properties file.
users.email.address.required=false
You need to set the suffix of the email address that will be automatically generate the email address.
put below property in the portal-ext.properties file :
users.email.address.auto.suffix=@no-emailaddress.com
Implement the EmailAddressGenerator class for email generation using below property in portal-ext.properties file.
users.email.address.generator=com.liferay.portal.security.auth.DefaultEmailAddressGenerator
0 Comment(s)