- Fix conflicts
This commit is contained in:
1 parent
c181cdfb28
commit
90a2f4d083
8 files changed
+40
-16
No files matched your search
@@ -5,6 +5,8 @@ use Ulmus\User\{Entity,
|
||||
Lib\Authorize,
|
||||
Middleware\HeaderAuthenticationMiddleware,
|
||||
Middleware\PostRequestAuthenticationMiddleware,
|
||||
Middleware\LocalMacAddressMiddleware,
|
||||
Authorize\MacAddressAuthentication,
|
||||
Authorize\PostRequestAuthentication};
|
||||
|
||||
use Picea\Picea;
|
||||
@@ -24,6 +26,10 @@ return [
|
||||
|
||||
PostRequestAuthenticationMiddleware::class => create(PostRequestAuthenticationMiddleware::class)->constructor(get(Entity\UserInterface::class), get('authentication.error'), get(PostRequestAuthentication::class)),
|
||||
|
||||
MacAddressAuthentication::class => create(MacAddressAuthentication::class)->constructor(get(Authenticate::class), "mac"),
|
||||
|
||||
LocalMacAddressMiddleware::class => create(LocalMacAddressMiddleware::class)->constructor(get(Entity\UserInterface::class), get('authentication.error'), get(MacAddressAuthentication::class)),
|
||||
|
||||
'authentication.method' => null,
|
||||
|
||||
'authorize.error' => function($c) {
|
||||
|
||||
Reference in new issue
Block a user