mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 17:56:07 +01:00
Increase to 60s before the session ends (be less optimistic)
This commit is contained in:
@@ -521,6 +521,6 @@ $(function () {
|
||||
// Keep-alive
|
||||
setInterval(function() {
|
||||
keepAlive();
|
||||
}, GravAdmin.config.admin_timeout*1000 - 5*1000); //Call keepAlive() 5s before the admin session timeout
|
||||
}, GravAdmin.config.admin_timeout*1000 - 60*1000); //Call keepAlive() 60s before the admin session timeouts
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user