Settings Override¶
Browser token expiration¶
The default browser token expiration is set to 5 hours. See this ticket for reference.
To change it, add the following code block to the end of /rmm/api/tacticalrmm/tacticalrmm/local_settings.py
from datetime import timedelta
REST_KNOX = {
"TOKEN_TTL": timedelta(days=30),
"AUTO_REFRESH": True,
"MIN_REFRESH_INTERVAL": 600,
}
Change (days=30)
to whatever you prefer. Then run sudo systemctl restart rmm
for changes to take effect.