Total Pageviews

Showing posts with label skip password reset page. Show all posts
Showing posts with label skip password reset page. Show all posts

Saturday, January 3, 2015

Disable Reset New password page,Password reminder Question page ,Terms & Conditions page from Liferay user Login

Add following properties in portal-ext.properties file.

#To turn off password reminder Question
users.reminder.queries.enabled=false



# To turn off the terms and conditions
terms.of.use.required=false

#To turn off password reset page
passwords.default.policy.change.required=false

Are you adverse to adding more code in whatever you're doing pro grammatically? You can set the 'password Reset' field on the user object, which is what Life-ray checks in order to decide if it should prompt the user to reset their password:

1user.setPasswordReset(false);
2UserLocalServiceUtil.updateUser(user);