Fórumok

Disabling the Remember Me Feature

Scott David, módosítva 15 év-val korábban

Disabling the Remember Me Feature

New Member Bejegyzések: 9 Csatlakozás dátuma: 2008.07.25. Legújabb bejegyzések
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
Tobias Gindler, módosítva 15 év-val korábban

RE: Disabling the Remember Me Feature

Junior Member Bejegyzések: 71 Csatlakozás dátuma: 2007.03.23. Legújabb bejegyzések
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
Jose Miguel Loor, módosítva 10 év-val korábban

RE: Disabling the Remember Me Feature

New Member Bejegyzések: 11 Csatlakozás dátuma: 2013.11.27. Legújabb bejegyzések
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
Brett Swaim, módosítva 8 év-val korábban

RE: Disabling the Remember Me Feature

Regular Member Bejegyzések: 112 Csatlakozás dátuma: 2006.04.14. Legújabb bejegyzések
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