Remove accidentally pushed code

This commit is contained in:
Lennart
2025-02-02 10:31:34 +01:00
parent 75e2d82432
commit d67efd8feb
3 changed files with 1 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ a CalDAV/CardDAV server
- easy to backup, everything saved in one SQLite database - easy to backup, everything saved in one SQLite database
- [WebDAV Push](https://github.com/bitfireAT/webdav-push/) support, so near-instant synchronisation to DAVx5 - [WebDAV Push](https://github.com/bitfireAT/webdav-push/) support, so near-instant synchronisation to DAVx5
- lightweight (the container image contains only one binary) - 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 - deleted calendars are recoverable
## Installation ## Installation

View File

@@ -14,10 +14,6 @@ pub struct User {
pub password: Option<String>, pub password: Option<String>,
#[serde(default)] #[serde(default)]
pub app_tokens: Vec<String>, pub app_tokens: Vec<String>,
#[serde(default)]
pub groups: Vec<String>,
#[serde(skip)]
pub inherited_groups: Vec<String>,
} }
#[derive(Clone, Debug, Display)] #[derive(Clone, Debug, Display)]

View File

@@ -32,8 +32,6 @@ pub fn cmd_gen_config(_args: GenConfigArgs) -> anyhow::Result<()> {
password: Some( password: Some(
"generate a password hash with rustical pwhash --algorithm argon2".to_owned(), "generate a password hash with rustical pwhash --algorithm argon2".to_owned(),
), ),
groups: vec![],
inherited_groups: vec![],
app_tokens: vec![ app_tokens: vec![
"generate an app token hash with rustical pwhash --algorithm pbkdf2".to_owned(), "generate an app token hash with rustical pwhash --algorithm pbkdf2".to_owned(),
], ],