Skip to content

Commit

Permalink
variable
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed Jan 13, 2023
1 parent 415fbc1 commit 558f6dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion plugins/authentication/cookie/services/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ public function register(Container $container)
$container->set(
PluginInterface::class,
function (Container $container) {
$dispatcher = $container->get(DispatcherInterface::class);

$plugin = new Cookie(
$container->get(DispatcherInterface::class),
$dispatcher,
(array) PluginHelper::getPlugin('authentication', 'cookie')
);
$plugin->setApplication(Factory::getApplication());
Expand Down
4 changes: 3 additions & 1 deletion plugins/authentication/joomla/services/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ public function register(Container $container)
$container->set(
PluginInterface::class,
function (Container $container) {
$dispatcher = $container->get(DispatcherInterface::class);

$plugin = new Joomla(
$container->get(DispatcherInterface::class),
$dispatcher,
(array) PluginHelper::getPlugin('authentication', 'joomla')
);
$plugin->setApplication(Factory::getApplication());
Expand Down
4 changes: 3 additions & 1 deletion plugins/authentication/ldap/services/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ public function register(Container $container)
$container->set(
PluginInterface::class,
function (Container $container) {
$dispatcher = $container->get(DispatcherInterface::class);

$plugin = new Ldap(
$container->get(DispatcherInterface::class),
$dispatcher,
(array) PluginHelper::getPlugin('authentication', 'ldap')
);
$plugin->setApplication(Factory::getApplication());
Expand Down

0 comments on commit 558f6dd

Please sign in to comment.