Skip to content
Snippets Groups Projects
Commit 9beb752f authored by jurgenhaas's avatar jurgenhaas
Browse files
- Take basic auth config from .lakedrops.yml instead of env variables
parent 37de78ca
No related branches found
Tags v3.8.4
No related merge requests found
......@@ -38,9 +38,9 @@ class Handler extends BaseHandler {
'staging' => FALSE,
'basicauth' => [
'enabled' => FALSE,
'user' => ',',
'pass' => ',',
'code' => ',',
'user' => '',
'pass' => '',
'code' => '',
],
'ci_home' => '/home/gitlab-runner',
'docker0' => [
......@@ -237,12 +237,6 @@ class Handler extends BaseHandler {
'projectprotocol' => 'https',
'projectport' => '',
'extradomains' => $config->readValue('aliases'),
'basicauth' => [
'enabled' => (getenv('BASIC_AUTH') === 'yes'),
'user' => getenv('BASIC_AUTH_USER'),
'pass' => getenv('BASIC_AUTH_PASS'),
'code' => getenv('BASIC_AUTH_CODE'),
],
];
foreach ($overwriteConfig as $key => $value) {
$this->config->setValue($key, $value, FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment