Linting.
This commit is contained in:
parent
fb562908ee
commit
b73b20cdbb
|
@ -23,7 +23,10 @@ function buildNoAuthRegex(patterns) {
|
|||
})
|
||||
}
|
||||
|
||||
function finalise(ctx, { authenticated, user, internal, version, publicEndpoint } = {}) {
|
||||
function finalise(
|
||||
ctx,
|
||||
{ authenticated, user, internal, version, publicEndpoint } = {}
|
||||
) {
|
||||
ctx.publicEndpoint = publicEndpoint || false
|
||||
ctx.isAuthenticated = authenticated || false
|
||||
ctx.user = user
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
if (loaded && multiTenancyEnabled && !tenantSet) {
|
||||
$redirect("./auth/org")
|
||||
} else if (loaded && !hasAdminUser) {
|
||||
|
||||
$redirect("./admin")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue