留言板

Disable Change Password for user first login

biswajit sarkar,修改在10 年前。

Disable Change Password for user first login

Regular Member 帖子: 166 加入日期: 11-10-17 最近的帖子
I want to disable the "change password" option at the time of user first login.

Is there any setup for this in "portal-ext.properties" ??
thumbnail
Manish Yadav,修改在10 年前。

RE: Disable Change Password for user first login (答复)

Expert 帖子: 493 加入日期: 12-5-26 最近的帖子
biswajit sarkar:
I want to disable the "change password" option at the time of user first login.

Is there any setup for this in "portal-ext.properties" ??



if you creating user using custom code you can add below lines

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


otherwise from control panel also you can disable password change option
control pannel->password policies-> remove check box from Change Required

Thanks & Regards
Manish Banwari lal Yadav
thumbnail
Kenneth Chang,修改在10 年前。

RE: Disable Change Password for user first login (答复)

Junior Member 帖子: 25 加入日期: 11-5-9 最近的帖子
passwords.default.policy.change.required=false
thumbnail
Manish Yadav,修改在10 年前。

RE: Disable Change Password for user first login

Expert 帖子: 493 加入日期: 12-5-26 最近的帖子
Kenneth Chang:
passwords.default.policy.change.required=false


Hi Kennath,

In this post Mika adivsed that there's no way to disable default password policy from portal-ext.properties and i haven't found above property in LR 6.1 User Guide For property refrence
thumbnail
Sreeraj AV,修改在10 年前。

RE: Disable Change Password for user first login (答复)

Regular Member 帖子: 239 加入日期: 10-4-27 最近的帖子
why do u want portal property entry for this. If u want you can disable "change password " feature using control panel..

Control Panel -> Password Policies(Under Portal Section) -> Default Password Policy .-> Change Required (Uncheck this combobox)

biswajit sarkar:
I want to disable the "change password" option at the time of user first login.

Is there any setup for this in "portal-ext.properties" ??
thumbnail
Muhammad Ghufron,修改在8 年前。

RE: Disable Change Password for user first login

New Member 帖子: 18 加入日期: 14-8-8 最近的帖子
Thank you Sreeraj AV, the smartest way to disable change password when first time login,