diff --git a/.env b/.env index 804b8c999..6cc19b399 100644 --- a/.env +++ b/.env @@ -76,4 +76,6 @@ _APP_LOGGING_PROVIDER= _APP_LOGGING_CONFIG= _APP_REGION=default _APP_DOCKER_HUB_USERNAME= -_APP_DOCKER_HUB_PASSWORD= \ No newline at end of file +_APP_DOCKER_HUB_PASSWORD= +_APP_CONSOLE_GITHUB_SECRET= +_APP_CONSOLE_GITHUB_APP_ID= \ No newline at end of file diff --git a/app/init.php b/app/init.php index f83f69c78..1d56e0bae 100644 --- a/app/init.php +++ b/app/init.php @@ -1042,8 +1042,8 @@ App::setResource('console', function () { 'authWhitelistIPs' => (!empty(App::getEnv('_APP_CONSOLE_WHITELIST_IPS', null))) ? \explode(',', App::getEnv('_APP_CONSOLE_WHITELIST_IPS', null)) : [], 'authProviders' => [ 'githubEnabled' => true, - 'githubSecret' => '41d6e1ff2b0f9e63086e9901edea63f068bd55e6', - 'githubAppid' => 'Iv1.4de83b7908eb1e0d' + 'githubSecret' => App::getEnv('_APP_CONSOLE_GITHUB_SECRET', ''), + 'githubAppid' => App::getEnv('_APP_CONSOLE_GITHUB_APP_ID', '') ], ]); }, []);