fix: Default deserialize for compatibility_mode

This commit is contained in:
Ginger authored and timedout committed 2026-07-12 16:28:27 +01:00
1 parent fe9f718c6e
commit 0ac0bd93ae
2 files changed
+2

No files matched your search

+1
View File
@@ -0,0 +1 @@
Fixed `global.oauth.compatibility_mode` being required, despite being ignored, when the `[global.oauth.oidc]` config section is provided.
+1
View File
@@ -2442,6 +2442,7 @@ pub struct OauthConfig {
/// legacy authentication will be unable to log in.
///
/// default: "hybrid"
#[serde(default)]
compatibility_mode: OAuthMode,
/// display: hidden