Wrong config parameter name in the \Zend\Expressive\Authentication\UserRepositoryPdoDatabaseFactory factory
nuxwin opened this issue · 1 comments
nuxwin commented
Good morning,
There is a wrong configuration parameter name in the \Zend\Expressive\Authentication\UserRepositoryPdoDatabaseFactory factory:
...
if (null === $pdo) {
throw new Exception\InvalidConfigException(
'PDO values are missing in user_register config'
);
}
...
should be
...
if (null === $pdo) {
throw new Exception\InvalidConfigException(
'PDO values are missing in authentication config'
);
}
...
Thank you.
weierophinney commented
Would you be willing to provide a pull request to resolve this, please?