refactor: fix database

This commit is contained in:
2025-01-03 05:32:25 +08:00
parent 70932900cd
commit caaa5dc0cc
22 changed files with 1223 additions and 128 deletions

View File

@@ -24,7 +24,7 @@ pub struct OidcAuthConfig {
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(tag = "type", rename_all = "snake_case")]
#[serde(tag = "auth_type", rename_all = "snake_case")]
pub enum AppAuthConfig {
Basic(BasicAuthConfig),
Oidc(OidcAuthConfig),