Linting
This commit is contained in:
parent
b5c12e6265
commit
8a77947a01
|
@ -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