- Removed authentication from controller, now handled by middleware

This commit is contained in:
mcndave committed 2023-11-08 06:52:17 -05:00
1 parent 2cb911ea6f
commit 2378245dbf
5 files changed
+23 -18

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ use Storage\{ Cookie, Session };
use function DI\{get, autowire, create};
return [
Authenticate::class => create(Authenticate::class)->constructor(get(Session::class), get(Cookie::class), get('authentication.method')),
Authenticate::class => create(Authenticate::class)->constructor(get(Entity\UserInterface::class), get(Session::class), get(Cookie::class), get('authentication.method')),
HeaderAuthenticationMiddleware::class => create(HeaderAuthenticationMiddleware::class)->constructor(get(Entity\UserInterface::class), get('authorize.error')),