MyAccount Portlet: field last name is require?

Braian Varona, modified 7 Years ago. New Member Posts: 3 Join Date: 9/10/18 Recent Posts

Hi!

I have a question: In liferay 7.0 the field "Last Name" is require or it can be null?

In liferay 6.2 is not required..

 

Thanks!

thumbnail
Minhchau Dang, modified 7 Years ago. Liferay Master Posts: 598 Join Date: 10/22/07 Recent Posts

In theory, according to the 7.0 Breaking Changes, the idea is that after LPS-48406, Liferay wanted to provide flexibility in determining which user name fields are required based on language. In practice, Liferay ends up requiring last name by default because it's listed in Language.properties, and it is explicitly listed for all of the following languages:

You would need to override all of those language properties files if you wanted to re-enable last name for all languages.