This commit is contained in:
Rory Powell 2021-07-23 14:42:28 +01:00
parent f95b550b15
commit 418637cb6b
1 changed files with 0 additions and 2 deletions

View File

@ -159,7 +159,6 @@ exports.publicSettings = async function (ctx) {
config.config.google = false config.config.google = false
} }
// oidc button flag // oidc button flag
if (oidcConfig && oidcConfig.config) { if (oidcConfig && oidcConfig.config) {
const oidcActivated = oidcConfig.config.configs[0].activated const oidcActivated = oidcConfig.config.configs[0].activated
@ -168,7 +167,6 @@ exports.publicSettings = async function (ctx) {
config.config.oidc = false config.config.oidc = false
} }
ctx.body = config ctx.body = config
} catch (err) { } catch (err) {
ctx.throw(err.status, err) ctx.throw(err.status, err)