fixes internal clients use of session

With remember from cookie, in certain edge cases, the middleware would
try to load a session which hasn't been instantiated as this middleware
is excluded for the client. Excluding the remember from cookie
middleware will resolve this as authentication is done using the
RequestUtil and ActorReference regardlessly.
This commit is contained in:
Daniel Klabbers 2021-07-13 00:32:13 +02:00
parent b11b6ec456
commit 274dac123f

View File

@ -111,7 +111,8 @@ class ApiServiceProvider extends AbstractServiceProvider
HttpMiddleware\StartSession::class,
HttpMiddleware\AuthenticateWithSession::class,
HttpMiddleware\AuthenticateWithHeader::class,
HttpMiddleware\CheckCsrfToken::class
HttpMiddleware\CheckCsrfToken::class,
HttpMiddleware\RememberFromCookie::class,
];
});