Feature Requests
Completed :latest

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

Posting anonymously

M. Ibrahim (Admin)·5 months ago

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)

Posting anonymously

os2mac·5 months ago

Should be a ui toggle though

Posting anonymously

M. Ibrahim (Admin)·6 months ago

The docs have information about the timeout setting in the env file under session management 🙂

Posting anonymously

os2mac·6 months ago
  • never should be an option.

Posting anonymously

gompstar·6 months ago

It has been discussed before, but I agree, maybe it's good to add it also in the webinterface

Posting anonymously

gompstar·6 months ago

Posting anonymously

9technologygroup·6 months ago

This is available to change within the .env files and documentation is available on it also on docs.patchmon.net

Many thanks

Posting anonymously

DrKappy·7 months ago

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

Posting anonymously

stolenvw·7 months ago

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" />

Posting anonymously