Updates and added option for auto logout

This commit is contained in:
Pinga 2024-01-02 12:16:26 +02:00
parent 5156802dc3
commit 19074bc248
2 changed files with 13 additions and 10 deletions

View file

@ -89,6 +89,11 @@ $container->set('pdo', function () use ($pdo) {
});
$container->set('auth', function() {
//$responseFactory = new \Nyholm\Psr7\Factory\Psr17Factory();
//$response = $responseFactory->createResponse();
//$autoLogout = new \Pinga\Auth\AutoLogout();
//$autoLogout->watch(900, '/', null, 301, $response);
return new \App\Auth\Auth;
});