Added auto-reload after 2 minutes when logged in, to force auto-logout

This commit is contained in:
Julian Müller 2022-08-06 17:33:31 +02:00
parent 1173406836
commit f5bf77fbed
6 changed files with 12 additions and 0 deletions

3
static/js/autoreload.js Normal file
View file

@ -0,0 +1,3 @@
setInterval(() => {
location.reload();
}, 1000*60*2); // reload after 2 minutes