How to set the default for "Keep me signed in"
-
I'd like this to be off by default, as I think that it's more secure this way. How do I set the default?
-
I think the correct approach is to modify your template: https://fusionauth.io/docs/v1/tech/themes/template-variables#oauth-authorize
set
rememberDevice
to false. You could even hide it and never let the user set it to true. -
Sorry about the delayed reply, I forgot to sub again (I've turned this on by default now in the forum).
I did try to modify the template, but IIRC (it was a while ago now), it didn't persist correctly after a failed submission, and I got really confused by the logic in
_input_checkbox
.I might try again in future, but right now it's not a high priority.
Thanks.
-
set rememberDevice to false.
Could you please assist what is the correct place to set this variable?
- Assign this variable inside template
[#assign rememberDevice = false /]
Or
- Can be set false from Admin panel?
Any help is greatly appreciated. Thanks!
- Assign this variable inside template
-
@mo-mustkem It is a Theme Template Variable. Please check out https://fusionauth.io/docs/customize/look-and-feel/template-variables#oauth-authorize. rememberDevice is in
/oauth2/authorize