Commit 2803eb8f authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Manquait factory fournissant l'adapteur d'auth Db!

parent 90967cd6
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment