aboutsummaryrefslogtreecommitdiff
path: root/aero-user
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-03-13 15:45:36 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-03-13 15:45:36 +0100
commit3abdafb0dbbc9290329e4974e821933426b32f91 (patch)
treef09e14393c5e1b82ba5788a8ce09b2270b72668d /aero-user
parent98adb1e20d90a1538b474659a96450d4c7b264c5 (diff)
downloadaerogramme-3abdafb0dbbc9290329e4974e821933426b32f91.tar.gz
aerogramme-3abdafb0dbbc9290329e4974e821933426b32f91.zip
TLS + Fix auth
Diffstat (limited to 'aero-user')
-rw-r--r--aero-user/src/config.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/aero-user/src/config.rs b/aero-user/src/config.rs
index 7de2eac..44b1239 100644
--- a/aero-user/src/config.rs
+++ b/aero-user/src/config.rs
@@ -23,6 +23,7 @@ pub struct ProviderConfig {
pub imap_unsecure: Option<ImapUnsecureConfig>,
pub lmtp: Option<LmtpConfig>,
pub auth: Option<AuthConfig>,
+ pub dav: Option<DavConfig>,
pub dav_unsecure: Option<DavUnsecureConfig>,
pub users: UserManagement,
}
@@ -59,6 +60,13 @@ pub struct DavUnsecureConfig {
}
#[derive(Serialize, Deserialize, Debug, Clone)]
+pub struct DavConfig {
+ pub bind_addr: SocketAddr,
+ pub certs: PathBuf,
+ pub key: PathBuf,
+}
+
+#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ImapUnsecureConfig {
pub bind_addr: SocketAddr,
}