Issue
- Users having no email address should be able to log in and access the portal.
Environment
- Liferay DXP 7.0
Resolution
- Creating a user with no email address.
By setting the below property to false in portal-ext.properties, the users can be created without an email address.
# Set this to false if you want to be able to create users without an email
# address. An email address will be automatically assigned to a user based
# on the property "users.email.address.auto.suffix".
users.email.address.required=true
- User with no email address logging into the portal
- A User can authenticate into the portal in three ways,
1. By Email Address (which is set default)
2. Screen name
3. User ID (a numerical ID auto-generated in the database) - These changes can be done in the following section
Control Panel-> Congifuration-> Instance Settings-> Authencation-> General Tab-> How do users authenticate (For reference: InstanceSetting.png)
- A User can authenticate into the portal in three ways,
- By setting the 'Screen name' or 'User ID' as the way to authenticate in instance settings, a user can access the portal.
Additional Information
- For more details on the authentication of a user, please refer Instance Settings.