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 2eb59bc commit 10bda44Copy full SHA for 10bda44
crates/config/src/sections/upstream_oauth2.rs
@@ -118,8 +118,10 @@ impl ConfigurationSection for UpstreamOAuth2Config {
118
}
119
120
121
- if !provider.claims_imports.localpart.on_conflict.is_default()
122
- && !matches!(
+ if matches!(
+ provider.claims_imports.localpart.on_conflict,
123
+ OnConflict::Add
124
+ ) && !matches!(
125
provider.claims_imports.localpart.action,
126
ImportAction::Force | ImportAction::Require
127
)
0 commit comments