mirror of
https://github.com/grocy/grocy.git
synced 2025-09-29 19:12:24 +00:00
Revise session handling to prepare API authentication via token
This commit is contained in:
@@ -13,7 +13,7 @@ class CliMiddleware extends BaseMiddleware
|
||||
}
|
||||
else
|
||||
{
|
||||
$response = $next($request, $response, $next);
|
||||
$response = $next($request, $response);
|
||||
return $response->withHeader('Content-Type', 'text/plain');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user