- Removed some outer references

This commit is contained in:
Dave Mc Nicoll 2023-05-31 18:12:38 +00:00
parent 4404943f8b
commit 4274a6f4a4
2 changed files with 0 additions and 12 deletions

View File

@ -17,14 +17,6 @@ return [
'application_name' => "",
],
'api' => [
'auth' => [
'type' => \CSLSJ\Api\AuthType::AUTH_HEADER_BASIC,
'username' => getenv('CSSLSJ_API_USERNAME'),
'password' => getenv('CSSLSJ_API_PASSWORD'),
]
],
'ulmus' => [
'connections' => [
'default' => [

View File

@ -50,10 +50,6 @@ return [
};
},
CSLSJ\Api\Client::class => create(CSLSJ\Api\Client::class)->constructor(get('api.authentication'), getenv('CSSLSJ_API_URL')),
'api.authentication' => function ($c) { return $c->get('config')['api']['auth']; },
EmailConfiguration::class => function($c) {
$email = new EmailConfiguration( EmailConfiguration::AUTH_TYPE_SMTP );
$email->smtpHost = getenv('SMTP_HOSTNAME');