chore: Fix most clippy issue, format & typos

This commit is contained in:
Jade Ellis authored and Ginger committed 2025-11-11 11:34:26 -05:00
1 parent 97c692b052
commit e75f5cbbed
18 files changed
+363 -409

No files matched your search

+5 -7
View File
@@ -290,13 +290,11 @@ pub fn check(config: &Config) -> Result {
}
if let Some(auth) = &config.auth {
if auth.enable_oidc_login {
if config.well_known.client.is_none() {
return Err!(Config(
"auth.enable_oidc_login",
"Oidc authentication is enabled but the well-known client is not set."
))
}
if auth.enable_oidc_login && config.well_known.client.is_none() {
return Err!(Config(
"auth.enable_oidc_login",
"Oidc authentication is enabled but the well-known client is not set."
));
}
}