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

  

posted @ 2016-08-19 17:53  罗锐原  阅读(716)  评论(0编辑  收藏  举报