Linting
This commit is contained in:
parent
f95b550b15
commit
418637cb6b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue