Forums de discussion

Liferay 7: Don't require a password reset

Thomas Kellerer, modifié il y a 7 années.

Liferay 7: Don't require a password reset

Expert Publications: 490 Date d'inscription: 09/06/08 Publications récentes
In Liferay 7 when I change the password of a user (or create a new user) the option "Require Password Reset" is always turned on and the checkbox is disabled so I can't uncheck it.

I would like to uncheck this option in some cases, so that no password reset is required.

I tried setting passwords.default.policy.change.required=false in portal-ext.properties but that didn't change anything. The checkbox is still disabled and checked.

Any ideas?
Thomas Kellerer, modifié il y a 6 années.

RE: Liferay 7: Don't require a password reset

Expert Publications: 490 Date d'inscription: 09/06/08 Publications récentes
Is there really no way to disable this annoying behavior?
thumbnail
Olaf Kock, modifié il y a 6 années.

RE: Liferay 7: Don't require a password reset

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
Thomas Kellerer:
Is there really no way to disable this annoying behavior?


There is. You've almost been there: Just edit the Default Password Policy (in Control Panel). The property you changed is used to create the default password policy when it doesn't exist yet - e.g. on first start of Liferay. After that, it's not picked up any more.

The default policy has a checkbox where you can choose "Change Required" - uncheck it and save, that's it.
Thomas Kellerer, modifié il y a 6 années.

RE: Liferay 7: Don't require a password reset

Expert Publications: 490 Date d'inscription: 09/06/08 Publications récentes
Olaf Kock:
[The default policy has a checkbox where you can choose "Change Required" - uncheck it and save, that's it.

A great, thanks a lot.