Liferay 6.2 改造系列之七:关闭使用条款确认、密码提醒、新用户强制修改密码等功能
关闭使用条款确认:
在/portal-master/portal-impl/src/portal.properties配置文件中,有如下配置:
# # Set this to true if all users are required to agree to the terms of use. # terms.of.use.required=true
修改为:
# # Set this to true if all users are required to agree to the terms of use. # terms.of.use.required=false
关闭密码提醒功能:
在/portal-master/portal-impl/src/portal.properties配置文件中,有如下配置:
# # Set this to true to enable reminder queries that are used to help reset a # user's password. # users.reminder.queries.enabled=true
修改为:
# # Set this to true to enable reminder queries that are used to help reset a # user's password. # users.reminder.queries.enabled=false
关闭首次登录强制修改密码功能:
在/portal-master/portal-impl/src/portal.properties配置文件中,有如下配置:
passwords.default.policy.change.required=true
修改为:
passwords.default.policy.change.required=false
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步