Skip to content
Snippets Groups Projects
Commit 2803eb8f authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Manquait factory fournissant l'adapteur d'auth Db!

parent 90967cd6
Branches
Tags
No related merge requests found
......@@ -160,6 +160,9 @@ class Module implements ConfigProviderInterface, ViewHelperProviderInterface, Se
$config = $sm->get('Configuration');
return new Options\ModuleOptions(isset($config['unicaen-auth']) ? $config['unicaen-auth'] : array());
},
'UnicaenAuth\Authentication\Adapter\Db' => function() {
return new Authentication\Adapter\Db();
},
'UnicaenAuth\Authentication\Adapter\Ldap' => function() {
return new Authentication\Adapter\Ldap();
},
......@@ -195,12 +198,4 @@ class Module implements ConfigProviderInterface, ViewHelperProviderInterface, Se
),
);
}
private function poeditPatch()
{
$element = new \Zend\Form\Element\Text('tmp');
$element->setLabel("Sign In")
->setLabel("Username")
->setLabel("Password");
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment