掲示板

Disable e-mail validation in Liferay 6.1

12年前 に MICHAIL MOUDATSOS によって更新されました。

Disable e-mail validation in Liferay 6.1

Regular Member 投稿: 110 参加年月日: 11/10/04 最新の投稿
Hello all,

I've recently tried out the Liferay 6.1 tomcat bundle. I logged in as default admin and created a user. I did not do any mail-related setup. In portal-ext.properties I ve set:
    #
    # Configure email notification settings.
    #
    #admin.email.from.name=Joe Bloggs
    #admin.email.from.address=test@liferay.com

    admin.email.user.added.enabled=false


and indeed the related option is not checked in GUI. Still when I try to log in as the created user it asks for a verification code which I assume it is supposed to have been sent by e-mail to the user. Note that a message is shown at console saying something like 'no mail server ctra is defined ...'.

I want to turn this off. How can I skip this verification mechanism?

Thank you all in advance
11年前 に Maciej Witwicki によって更新されました。

RE: Disable e-mail validation in Liferay 6.1

New Member 投稿: 20 参加年月日: 12/07/05 最新の投稿
I've got the same issue, please anyone provide a way to turn it off.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Disable e-mail validation in Liferay 6.1

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
By "verification code", do you mean the "password"? You can't turn off password but you can check "remember password" so you'll automatically be logged in the next time you try to login.
11年前 に Maciej Witwicki によって更新されました。

RE: Disable e-mail validation in Liferay 6.1

New Member 投稿: 20 参加年月日: 12/07/05 最新の投稿
If you don't know what "verification code" is then why are you posting??
no, its NOT password. its VERIFICATION CODE sent after creating account to user's email.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Disable e-mail validation in Liferay 6.1

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Maciej, just disable sending email when an user account is created by an admin. Sorry, but I have it set up so verification code is only sent when an user create an new account himself. If you are having problem setting up your liferay installation and don't know how to google, I recommend that you take beginners liferay training course. I hear they do provide a good step by step hand on instructions.
thumbnail
11年前 に Tejas Kanani によって更新されました。

RE: Disable e-mail validation in Liferay 6.1

Liferay Master 投稿: 654 参加年月日: 09/01/06 最新の投稿
Check if either below property is set to TRUE in portal-ext.properties

#
# Set this to true if strangers who create accounts need to be verified via
# email.
#
company.security.strangers.verify=true

OR
Require strangers to verify their email address?

is checked from Control Panel --> Portal settings --> General