change default username to root

This commit is contained in:
Samuel Lorch 2024-07-29 23:43:50 +02:00
parent c51b528521
commit 6cecae76dc

View file

@ -193,7 +193,7 @@ pub fn generate_default_config(path: &str) -> Result<(), ConfigError> {
let hash = sha512_crypt::hash("nfsense")?;
conf.config_version = 1;
conf.system.users.push(crate::definitions::system::User {
name: "admin".to_string(),
name: "root".to_string(),
comment: "Default Admin".to_string(),
hash: hash,
});