Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Tonu Sri
Restrict Mail Domain
2 de abril de 2012 2:12
Respuesta

Tonu Sri

Ranking: Junior Member

Mensajes: 42

Fecha de incorporación: 15 de abril de 2011

Mensajes recientes

Hi All,

I want to restrict user's with mail domain.
I dont want the user's with different mail domain to create account.

I tried to give mail domain in Portal settings and in General settings i changed "stranger by company mail address"
But its not working.

Please help me to resolve this.

Thanks in advance.
Hitoshi Ozawa
RE: Restrict Mail Domain
14 de abril de 2012 9:17
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 8000

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

In portal-ext.properties, there are these two properties. There two properties correspond to "Allow strangers to create accounts?" and "Allow strangers to create accounts with a company email address? ". Since you've already set these and "Mail Domain (Required)", it should work. Which version and bundle of Liferay are you using?
#
# Set this to true if strangers can create accounts with email addresses
# that match the company mail suffix. This property is not used unless
# "company.security.strangers" is also set to true.
#
company.security.strangers.with.mx=true

#
# Set this to true to allow strangers to create accounts and register
# themselves on the portal.
#
company.security.strangers=true