mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 08:08:23 +00:00
frontend: Move oidc configuration to dedicated section
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use rustical_frontend::FrontendConfig;
|
||||
use rustical_frontend::{FrontendConfig, OidcConfig};
|
||||
use rustical_store::auth::TomlUserStoreConfig;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
@@ -84,6 +84,8 @@ pub struct Config {
|
||||
pub http: HttpConfig,
|
||||
pub frontend: FrontendConfig,
|
||||
#[serde(default)]
|
||||
pub oidc: Option<OidcConfig>,
|
||||
#[serde(default)]
|
||||
pub tracing: TracingConfig,
|
||||
#[serde(default)]
|
||||
pub dav_push: DavPushConfig,
|
||||
|
||||
Reference in New Issue
Block a user