Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
David García González
User registration with confirmation e-mail
August 4, 2011 1:08 AM
Answer

David García González

Rank: Regular Member

Posts: 127

Join Date: July 14, 2009

Recent Posts

Hi all!

I wanted to change the default user registration scenario. My desired workflow is the following:

1.- The user enters in the "create account" form and enters all the user data: username, email, password, reminder question, etc..
2.- Liferay creates the account but the user is not active.
3.- Liferay sends an e-mail to the user e-mail account with a portal link to an url that activates the user
4.- The user makes click on the link and Liferay activates the user

Is this possible this scenario in Liferay? Do I have to develop a new portlet?

Thanks!!
David H Nebinger
RE: User registration with confirmation e-mail
August 4, 2011 6:51 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11492

Join Date: September 1, 2006

Recent Posts

I think that is supported OOTB. Check portal.properties for company.security.strangers.verify.
Ronak Patel
RE: User registration with confirmation e-mail
August 4, 2011 9:03 AM
Answer

Ronak Patel

Rank: New Member

Posts: 19

Join Date: January 20, 2010

Recent Posts

Hey David,
Set company.security.strangers.verify=true in portal-ext.properties
-
Ronak Patel
Deb Troxel
RE: User registration with confirmation e-mail
August 4, 2011 1:19 PM
Answer

Deb Troxel

Rank: Junior Member

Posts: 81

Join Date: February 22, 2010

Recent Posts

Ronak Patel:
Set company.security.strangers.verify=true in portal-ext.properties

Just wondering, have you used this to achieve the original poster's scenario?

I had assumed that is what that property would do, but when I tried it a while ago I was disappointed. The only change I noticed is on the sign in screen after registration. If the company.security.strangers.verify property is false, it says something like 'your password is ...' and when verify is true it says to check your email for your password. If you allow users to choose their own password
1    login.create.account.allow.custom.password=true

then it doesn't really accomplish anything. Since they already know their password they don't have to have entered a valid email.

I'd rather see an option that works as described; let them choose their own password ('cause that's easier and nicer for your visitors) and then require an email click to validate and activate the account. Am I missing something OOTB that would do that?
David García González
RE: User registration with confirmation e-mail
August 4, 2011 11:23 PM
Answer

David García González

Rank: Regular Member

Posts: 127

Join Date: July 14, 2009

Recent Posts

Deb Troxel:


I'd rather see an option that works as described; let them choose their own password ('cause that's easier and nicer for your visitors) and then require an email click to validate and activate the account. Am I missing something OOTB that would do that?


Thanks Deb, that is what I wanted to do, but If the property "company.security.strangers.verify" does not work as an activation mail, is there any other option to send a confirmation e-mail with the link to validate and activate the account? I don't find any more options.
Fabio Foglia
RE: User registration with confirmation e-mail
September 10, 2011 6:50 AM
Answer

Fabio Foglia

Rank: Junior Member

Posts: 61

Join Date: September 2, 2011

Recent Posts

This feature is available in CE 6.1.
Try the SVN tomcat bundle
DENNIS JANEK
RE: User registration with confirmation e-mail
February 19, 2013 3:38 PM
Answer

DENNIS JANEK

Rank: New Member

Posts: 2

Join Date: April 21, 2011

Recent Posts

Fabio,

I'm using Liferay 6.1.20, but I don't see this feature. Can you explain how to configure it?

Thanks.
Roshan Qureshi
RE: User registration with confirmation e-mail
December 15, 2013 11:34 PM
Answer

Roshan Qureshi

Rank: Regular Member

Posts: 144

Join Date: August 24, 2010

Recent Posts

Hi David and others,

Have any one achieved this functionality? If so please share the solution.

I used
company.security.strangers.verify=true
but its not working. I am using Liferay CE 6.1

Thanks.
Roshan Qureshi
RE: User registration with confirmation e-mail
December 15, 2013 11:36 PM
Answer

Roshan Qureshi

Rank: Regular Member

Posts: 144

Join Date: August 24, 2010

Recent Posts

Is there any other property also required in with this property?