How to disable "remember me" on service portal login page?

Ryan Bray1
ServiceNow Employee
ServiceNow Employee

In order to meet security compliance, I recently disabled glide.ui.forgetme on our instance. It worked great on the normal login page but the service portal login page still has the "Remember me" checkbox option (and it is functional, i.e. adds a cookie). A quick documentation/google search did not turn anything up. Does anyone know how to remove this from the service portal login?

Thanks in advance!

1 ACCEPTED SOLUTION

Bruno De Graeve
ServiceNow Employee
ServiceNow Employee

The login widget uses these two properties:

data.forgetMe = GlideProperties.getBoolean("glide.ui.forgetme");
data.forgetMeDefault = GlideProperties.getBoolean('glide.ui.remember.me.default', true);

That's where you need to look for and clear your browser and instance cache (../cache.do)

Bruno De Graeve,
Principal Platform Architect, Customer Success, ServiceNow

View solution in original post

4 REPLIES 4

Not applicable

Hi Ryan,

Try by clearing your browser cache?

Or

Set the UI Property, Remove "Remember me" checkbox from login page,   to True.

The glide.ui.remember.me.default property value is true too.

 

find_real_file.png

Mark if Correct/Helpful

 

Thanks

Ajay

find_real_file.png

Manan Raval
Giga Expert

Hi Ryan,

Please enable the glide.ui.forgetme. Set its value to true. This will do for both native and service portal. Also clear the cache as well.

 

Regards,

Manan

Vishal Khandve
Kilo Sage

Hi Ryan,

Navigate to service portal>widget instances>login

In server script look for line no 20. make changes.

 

Thank you

 

 

Bruno De Graeve
ServiceNow Employee
ServiceNow Employee

The login widget uses these two properties:

data.forgetMe = GlideProperties.getBoolean("glide.ui.forgetme");
data.forgetMeDefault = GlideProperties.getBoolean('glide.ui.remember.me.default', true);

That's where you need to look for and clear your browser and instance cache (../cache.do)

Bruno De Graeve,
Principal Platform Architect, Customer Success, ServiceNow