We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7c30b commit c1340e3Copy full SHA for c1340e3
crates/config/src/sections/upstream_oauth2.rs
@@ -111,8 +111,10 @@ impl ConfigurationSection for UpstreamOAuth2Config {
111
}
112
113
114
- if !provider.claims_imports.localpart.on_conflict.is_default()
115
- && !matches!(
+ if matches!(
+ provider.claims_imports.localpart.on_conflict,
116
+ OnConflict::Add
117
+ ) && !matches!(
118
provider.claims_imports.localpart.action,
119
ImportAction::Force | ImportAction::Require
120
)
0 commit comments