diff --git a/packages/worker/src/api/controllers/admin/configs.js b/packages/worker/src/api/controllers/admin/configs.js index 78d5fdd061..78caa817b2 100644 --- a/packages/worker/src/api/controllers/admin/configs.js +++ b/packages/worker/src/api/controllers/admin/configs.js @@ -158,7 +158,6 @@ exports.publicSettings = async function (ctx) { } else { config.config.google = false } - // oidc button flag if (oidcConfig && oidcConfig.config) { @@ -167,7 +166,6 @@ exports.publicSettings = async function (ctx) { } else { config.config.oidc = false } - ctx.body = config } catch (err) {