(resolved) Automatically logging out from user interface

Hi,

I just noticed that if I don’t log off from the user interface, even if I close Firefox and switch off my computer, and get back on the user interface let’s after 24 hours, I’m still logged in!

How can we set Yunohost so that it logs out after X minutes/hours of inactivity?

Thanks a lot

You could configure /etc/ssowat/config.json with https://github.com/YunoHost/SSOwat/#session_timeout

I did that:
nano /etc/ssowat/conf.json.persistent

and added:
‘session_timeout’: ‘18000’,

for 5 hours instead of 24h.

Is that right?

Yep, it seems great.
I let you try if it works.
A service nginx reload could make take effects.