Added auto-reload after 2 minutes when logged in, to force auto-logout
This commit is contained in:
parent
1173406836
commit
f5bf77fbed
6 changed files with 12 additions and 0 deletions
3
static/js/autoreload.js
Normal file
3
static/js/autoreload.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
setInterval(() => {
|
||||
location.reload();
|
||||
}, 1000*60*2); // reload after 2 minutes
|
Loading…
Add table
Add a link
Reference in a new issue