fix default global check
This commit is contained in:
parent
f42a1b0be4
commit
22fee07f88
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ func shouldApplyGlobalAuth(input interface{}, globalExternalAuthURL string, c in
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (location.ExternalAuth.URL == "") && (globalExternalAuthURL != "") && (cfg.GlobalExternalAuth.DefaultEnable) {
|
if (location.ExternalAuth.URL == "") && (globalExternalAuthURL != "") && (cfg.GlobalExternalAuth.DefaultEnable) || (location.EnableGlobalAuth) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue