掲示板

Disabling the Remember Me Feature

15年前 に Scott David によって更新されました。

Disabling the Remember Me Feature

New Member 投稿: 9 参加年月日: 08/07/25 最新の投稿
Hi,

I'm trying to disable the "Remember Me" feature when users go to log into our site.

I found that someone else did this by going to the Admin section and selecting: Users / Authentication / General tab and changing the option "Allow users to automatically login?.

My problem is I can't find this area. I thought they were referring to the admin portlet, however, in this portlet all I have as options is Server, Instances and Plugins.

Does anyone know how I get to this area or where it is?

Or if there is a better way of disabling the "Remember Me" feature?

I'd greatly appreciate the help.

Thanks!
thumbnail
15年前 に Tobias Gindler によって更新されました。

RE: Disabling the Remember Me Feature

Junior Member 投稿: 71 参加年月日: 07/03/23 最新の投稿
Hi Scott,

you can do this by overwriting the following portal properties:

# Set this to true to allow users to select the "remember me" feature to
# automatically login to the portal.
#
company.security.auto.login=true

#
# Set this to the maximum age (in number of seconds) of the browser cookie
# that enables the "remember me" feature. A value of 31536000 signifies
# lifespan of one year. A value of -1 signifies a lifespan of a browser
# session.
#
# Rather than setting this to 0, set the property
# "company.security.auto.login" to false to disable the "remember me"
# feature.
#
company.security.auto.login.max.age=31536000

You have just to alter or create the /webapps/ROOT/WEB-INF/classes/portal-ext.properties file for that and to append the new settings.

Best regards

Tobias
thumbnail
10年前 に Jose Miguel Loor によって更新されました。

RE: Disabling the Remember Me Feature

New Member 投稿: 11 参加年月日: 13/11/27 最新の投稿
I am running liferay 6 ee in a jboss eap 6.2

i have created that property in my portal-ext.properties but the checkbox is still present in the login form
thumbnail
8年前 に Brett Swaim によって更新されました。

RE: Disabling the Remember Me Feature

Regular Member 投稿: 112 参加年月日: 06/04/14 最新の投稿
It's set in the database then. Control panel, Portal Settings, Authentication, uncheck Allow users to automatically authenticate.


Jose Miguel Loor:
I am running liferay 6 ee in a jboss eap 6.2

i have created that property in my portal-ext.properties but the checkbox is still present in the login form