|
|
@ -158,7 +158,6 @@ exports.publicSettings = async function (ctx) { |
|
|
} else { |
|
|
} else { |
|
|
config.config.google = false |
|
|
config.config.google = false |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// oidc button flag
|
|
|
// oidc button flag
|
|
|
if (oidcConfig && oidcConfig.config) { |
|
|
if (oidcConfig && oidcConfig.config) { |
|
|
@ -167,7 +166,6 @@ exports.publicSettings = async function (ctx) { |
|
|
} else { |
|
|
} else { |
|
|
config.config.oidc = false |
|
|
config.config.oidc = false |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ctx.body = config |
|
|
ctx.body = config |
|
|
} catch (err) { |
|
|
} catch (err) { |
|
|
|