From d67efd8feb00ce957986399aa5a46e6f01f865a7 Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Sun, 2 Feb 2025 10:31:34 +0100 Subject: [PATCH] Remove accidentally pushed code --- README.md | 2 +- crates/store/src/auth/user.rs | 4 ---- src/commands/mod.rs | 2 -- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index eda33aa..17a7569 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ a CalDAV/CardDAV server - easy to backup, everything saved in one SQLite database - [WebDAV Push](https://github.com/bitfireAT/webdav-push/) support, so near-instant synchronisation to DAVx5 - lightweight (the container image contains only one binary) -- adequately fast +- adequately fast (I'd say blazingly fastâ„¢ :fire: if I did the benchmarks to back that claim up) - deleted calendars are recoverable ## Installation diff --git a/crates/store/src/auth/user.rs b/crates/store/src/auth/user.rs index 5e8f545..bb7ed77 100644 --- a/crates/store/src/auth/user.rs +++ b/crates/store/src/auth/user.rs @@ -14,10 +14,6 @@ pub struct User { pub password: Option, #[serde(default)] pub app_tokens: Vec, - #[serde(default)] - pub groups: Vec, - #[serde(skip)] - pub inherited_groups: Vec, } #[derive(Clone, Debug, Display)] diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 8ba92a2..797d947 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -32,8 +32,6 @@ pub fn cmd_gen_config(_args: GenConfigArgs) -> anyhow::Result<()> { password: Some( "generate a password hash with rustical pwhash --algorithm argon2".to_owned(), ), - groups: vec![], - inherited_groups: vec![], app_tokens: vec![ "generate an app token hash with rustical pwhash --algorithm pbkdf2".to_owned(), ],