mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01: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…
Reference in New Issue
Block a user