mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 03:04:36 +00:00
Squashed commit
Always execute migration 9999 (can be used to fix things manually) Optimized meal plan navigation / date range filtering Prepared next release Pulled translations from Transifex Various code optimizations
This commit is contained in:
@@ -9,14 +9,14 @@ use Slim\Routing\RouteContext;
|
||||
|
||||
class ApiKeyAuthMiddleware extends AuthMiddleware
|
||||
{
|
||||
protected $ApiKeyHeaderName;
|
||||
|
||||
public function __construct(\DI\Container $container, ResponseFactoryInterface $responseFactory)
|
||||
{
|
||||
parent::__construct($container, $responseFactory);
|
||||
$this->ApiKeyHeaderName = $this->AppContainer->get('ApiKeyHeaderName');
|
||||
}
|
||||
|
||||
protected $ApiKeyHeaderName;
|
||||
|
||||
public function authenticate(Request $request)
|
||||
{
|
||||
$routeContext = RouteContext::fromRequest($request);
|
||||
|
Reference in New Issue
Block a user