mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-05 17:18:04 +02:00
Updates and added option for auto logout
This commit is contained in:
parent
5156802dc3
commit
19074bc248
2 changed files with 13 additions and 10 deletions
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue