- Removed authentication from controller, now handled by middleware
This commit is contained in:
1 parent
2cb911ea6f
commit
2378245dbf
5 files changed
+23
-18
No files matched your search
@@ -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')),
|
||||
|
||||
|
||||
Reference in new issue
Block a user