Feature Request: Allow user to set timeout before being logged out
Please add an option in the settings where we can specify how long to keep the session logged in. At the moment it seems to log me out quite quickly after a short period of inactivity.
Ideally I'd like it to stay permanently logged in, or at least for 7 days at a time. I'm running this on a home lab, not in a secure corporate environment.
Thank you.
9 Comments
Should be a ui toggle though
·6 months agoThe docs have information about the timeout setting in the env file under session management 🙂
- never should be an option.
It has been discussed before, but I agree, maybe it's good to add it also in the webinterface
This is available to change within the .env files and documentation is available on it also on docs.patchmon.net
Many thanks
I changed the setting in the .env file to keep from timing out.
root@patchmon:/opt/patchmon/backend# cat .env
.
.
JWT Configuration
JWT_SECRET="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
JWT_EXPIRES_IN=1h <------ I changed to 7d
JWT_REFRESH_EXPIRES_IN=7d <-------------- I changed to 30d
i made a request for something like this a month ago, its a pain having to login all the time. And what is the point of the Active Sessions when they are not really active and you have to always login
<img width="879" height="1184" alt="Image" src="https://github.com/user-attachments/assets/61ec4267-a49f-442e-9bd5-84a3fc1b0729" />
In the new version every single environment variable can be set from the UI.
.env will override (priority 1)
Db stored values from ui (priority 2)
Defaults if non set anywhere (priority 3)