update docs
This commit is contained in:
parent
07a88ae00d
commit
596dee2f24
|
@ -0,0 +1,19 @@
|
||||||
|
# Settings Override
|
||||||
|
|
||||||
|
### Browser token expiration
|
||||||
|
|
||||||
|
The default browser token expiration is set to 5 hours. See this [ticket](https://github.com/wh1te909/tacticalrmm/issues/503) for reference.
|
||||||
|
|
||||||
|
To change it, add the following code block to the end of `/rmm/api/tacticalrmm/tacticalrmm/local_settings.py`
|
||||||
|
|
||||||
|
```python
|
||||||
|
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.
|
|
@ -22,6 +22,7 @@ nav:
|
||||||
- "Alerting": functions/alerting.md
|
- "Alerting": functions/alerting.md
|
||||||
- "User Interface Preferences": functions/user_ui.md
|
- "User Interface Preferences": functions/user_ui.md
|
||||||
- "Django Admin": functions/django_admin.md
|
- "Django Admin": functions/django_admin.md
|
||||||
|
- "Settings Override": functions/settings_override.md
|
||||||
- Backup: backup.md
|
- Backup: backup.md
|
||||||
- Restore: restore.md
|
- Restore: restore.md
|
||||||
- Troubleshooting: troubleshooting.md
|
- Troubleshooting: troubleshooting.md
|
||||||
|
|
Loading…
Reference in New Issue