add example app_token to default config

This commit is contained in:
Lennart
2024-11-03 13:19:08 +01:00
parent 0f2db05a07
commit bb0b055e50

View File

@@ -29,9 +29,14 @@ pub fn cmd_gen_config(_args: GenConfigArgs) -> anyhow::Result<()> {
user: User {
id: "default".to_owned(),
displayname: Some("Default user".to_owned()),
password: Some("generate a password hash with rustical pwhash".to_owned()),
password: Some(
"generate a password hash with rustical pwhash --algorithm argon2"
.to_owned(),
),
},
app_tokens: vec![],
app_tokens: vec![
"generate an app token hash with rustical pwhash --algorithm pbkdf2".to_owned(),
],
}],
}),
data_store: DataStoreConfig::Sqlite(SqliteDataStoreConfig {