mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-24 03:20:33 +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;
|
||||
});
|
||||
|
||||
|
|
|
@ -16,17 +16,15 @@
|
|||
"ext-pdo": "*",
|
||||
"slim/slim": "4.12.0",
|
||||
"slim/twig-view": "^3.3.0",
|
||||
"monolog/monolog": "^3.4.0",
|
||||
"monolog/monolog": "^3.5.0",
|
||||
"respect/validation": "^2.2.4",
|
||||
"slim/csrf": "^1.3",
|
||||
"slim/flash": "^0.4",
|
||||
"vlucas/phpdotenv": "^5.5",
|
||||
"php-di/php-di": "^7.0.5",
|
||||
"nyholm/psr7": "^1.8",
|
||||
"nyholm/psr7-server": "^1.0.2",
|
||||
"pinga/auth": "^0.2.1",
|
||||
"phpmailer/phpmailer": "^6.8.1",
|
||||
"utopia-php/messaging": "^0.3.0",
|
||||
"vlucas/phpdotenv": "^5.6",
|
||||
"php-di/php-di": "^7.0.6",
|
||||
"nyholm/psr7": "^1.8.1",
|
||||
"nyholm/psr7-server": "^1.1.0",
|
||||
"pinga/auth": "^0.3.1",
|
||||
"filp/whoops": "^2.15.3",
|
||||
"imefisto/psr-swoole-native": "^1.1.2",
|
||||
"chubbyphp/chubbyphp-static-file": "^1.2",
|
||||
|
@ -43,7 +41,7 @@
|
|||
"matthiasmullie/scrapbook": "^1.5",
|
||||
"guzzlehttp/guzzle": "^7.8",
|
||||
"league/flysystem": "^3.23",
|
||||
"mpociot/vat-calculator": "^3.6",
|
||||
"mpociot/vat-calculator": "^3.7",
|
||||
"ramsey/uuid": "^4.7",
|
||||
"selective/xmldsig": "^3.1"
|
||||
},
|
||||
|
@ -52,4 +50,4 @@
|
|||
"App\\": "app/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue