So i want to disable the required password change for fist time users. I am running this local, to test this out until it works, as i want it.
I have made an portal-ext
file that contains the following:
company.security.auth.type=screenName
users.screen.name.allow.numeric=true
terms.of.use.required=false
users.reminder.queries.enabled=false
passwords.default.policy.changeable=true
passwords.default.policy.change.required=false
users.reminder.queries.custom.question.enabled=false
users.last.name.required=false
users.email.address.required=false
passwords.toolkit=com.liferay.portal.security.pwd.RegExpToolkit
passwords.regexptoolkit.charset=0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghilmnopqrstuv
passwords.regexptoolkit.length=8
passwords.regexptoolkit.pattern=.+
As you can see, i have already set the passwords.default.policy.change.required
to false
.
But when i login with a first time user, it still shows the "change password" screen, which it should not.
It NEEDS to be done from the portal-ext
file, and not the control panel, since this file is going on multiply servers,
so its disabled on all. And future servers as well.
Anyone have an idea whats wrong, or what I'm needing ?
Thanks in advance
A further look at the liferay forum, i found a post about this, where a liferay staff posted this answer:
Unfortunately the default password policy is not something you can configure in portal(-ext).properties so there's no way to disable it that way.
It's therefore impossible to get the result I'm looking for.