Keepalive in admin. Fires a 'keepAlive' task 5s before the end of the admin session

This commit is contained in:
Flavio Copes
2015-09-14 15:58:34 +02:00
parent 12df3984c1
commit 0e2317032b
3 changed files with 22 additions and 1 deletions

View File

@@ -193,6 +193,16 @@ class AdminController
return true;
}
/**
* Handle logout.
*
* @return bool True if the action was performed.
*/
protected function taskKeepAlive()
{
exit();
}
/**
* Handle the email password recovery procedure.
*