Forums de discussion

Login security question for the migrated users first time login

Hardik Pathak, modifié il y a 8 années.

Login security question for the migrated users first time login

New Member Publications: 12 Date d'inscription: 11/10/13 Publications récentes
Hi,
We are migrating from non-liferay portal to Liferay portal. Now we have users in LDAP and liferay is connected to LDAP to get those user details & authenticate.

Question is that, we provide a "Forgot Password" on login page. And to get the password reset link, user needs to provide their details plus need to answer a security question.

BUT, because user have not logged in ever into liferay they dont have security question setup. And before doing first login, if they have forgotten their password they will click on the link "Forgot Password" ! And because there is no security question set, it throws an error !

So, is there a way where, if the security question is not set then just bypass that screen ?

Thank you
Hardik
thumbnail
Sushil Patidar, modifié il y a 8 années.

RE: Login security question for the migrated users first time login

Expert Publications: 467 Date d'inscription: 31/10/11 Publications récentes
Hi,
Check with following property..

#
    # Set this to false to enable users without a reminder query to reset their
    # password.
    #
    users.reminder.queries.required=false


Regards
Hardik Pathak, modifié il y a 8 années.

RE: Login security question for the migrated users first time login

New Member Publications: 12 Date d'inscription: 11/10/13 Publications récentes
Hi Sushil - Thank you. But that's not what I am looking for.

Basically I need the security question once it's setup. But I am worrying about the scenario when I am conncting liferay with the LDAP which has existing users but because they have not logged into Liferay they dont have security question ! And when they come to Liferay for the first time and if they have forgotten their password then they will click on "Forgot Password" link which will ask security question but because they have never logged in Liferay there wont be security question existing for them in Liferay.

Anyway, I gave a thought yesterday seems I might have to create a hook which if doesnt find the user in LDAP ( while doing Forgot Password ) then will get it from the LDAP using PortalLDAPImporterUtil. But I am still to finish this way. Will confirm once it's done.

Regards,
Hardik