Foros de discusión
Disabling the Remember Me Feature
Scott David, modificado hace 15 años.
Disabling the Remember Me Feature
New Member Mensajes: 9 Fecha de incorporación: 25/07/08 Mensajes recientes
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!
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!
Tobias Gindler, modificado hace 15 años.
RE: Disabling the Remember Me Feature
Junior Member Mensajes: 71 Fecha de incorporación: 23/03/07 Mensajes recientes
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
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
Jose Miguel Loor, modificado hace 10 años.
RE: Disabling the Remember Me Feature
New Member Mensajes: 11 Fecha de incorporación: 27/11/13 Mensajes recientes
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
i have created that property in my portal-ext.properties but the checkbox is still present in the login form
Brett Swaim, modificado hace 8 años.
RE: Disabling the Remember Me Feature
Regular Member Mensajes: 112 Fecha de incorporación: 14/04/06 Mensajes recientes
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