mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Fixed a warning on embedded and demo installations
This commit is contained in:
parent
71b9d11ff5
commit
bb5dcb2434
@ -30,7 +30,6 @@ class SessionAuthMiddleware extends BaseMiddleware
|
||||
$user = $sessionService->GetDefaultUser();
|
||||
define('GROCY_AUTHENTICATED', true);
|
||||
define('GROCY_USER_USERNAME', $user->username);
|
||||
define('GROCY_USER_ID', $user->id);
|
||||
|
||||
$response = $next($request, $response);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user