v0.34.15
This commit is contained in:
1 parent
62b7574553
commit
e364392659
47 files changed
+2164
-257
No files matched your search
@@ -127,8 +127,8 @@ let policy_reason = if admin_control_plane {
|
||||
Some("admin_control_plane")
|
||||
} else if frontend.is_some_and(|f| f.basic_auth.is_some()) {
|
||||
Some("basic_auth")
|
||||
} else if frontend.is_some_and(|f| f.tinyauth.is_some()) {
|
||||
Some("tinyauth")
|
||||
} else if let Some(provider) = frontend.and_then(|f| f.auth_provider.as_ref()) {
|
||||
Some(provider.id())
|
||||
} else if route
|
||||
.pool
|
||||
.as_ref()
|
||||
@@ -244,7 +244,7 @@ context.apply_upstream(
|
||||
.as_ref()
|
||||
.is_none_or(|frontend| frontend.forward_client_ip),
|
||||
);
|
||||
if let Some(auth) = frontend.and_then(|f| f.tinyauth.as_ref()) {
|
||||
if let Some(auth) = frontend.and_then(|f| f.auth_provider.as_ref()) {
|
||||
auth.strip_identity(request.headers_mut());
|
||||
}
|
||||
if let Some(identity) = identity {
|
||||
|
||||
Reference in new issue
Block a user