Disallow strangers to create accounts

Issue

  • Stranger account creation is configurable through Instance Settings and portal.properties

Environment

  • Liferay DXP

Resolution

  • Stranger account creation can be enabled/disabled through any of the following mechanisms:
    • Control Panel > Instance Settings > User Authentication > Allow strangers to create accounts?
    • portal-ext.properties:
 #
# Set this to true to allow strangers to create accounts and register
# themselves on the portal.
#
# Env: LIFERAY_COMPANY_PERIOD_SECURITY_PERIOD_STRANGERS
#
company.security.strangers=true

 

Additional Information

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助