mirror of
https://github.com/speatzle/nfsense.git
synced 2025-06-28 07:19:37 +00:00
change default username to root
This commit is contained in:
parent
c51b528521
commit
6cecae76dc
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ pub fn generate_default_config(path: &str) -> Result<(), ConfigError> {
|
||||||
let hash = sha512_crypt::hash("nfsense")?;
|
let hash = sha512_crypt::hash("nfsense")?;
|
||||||
conf.config_version = 1;
|
conf.config_version = 1;
|
||||||
conf.system.users.push(crate::definitions::system::User {
|
conf.system.users.push(crate::definitions::system::User {
|
||||||
name: "admin".to_string(),
|
name: "root".to_string(),
|
||||||
comment: "Default Admin".to_string(),
|
comment: "Default Admin".to_string(),
|
||||||
hash: hash,
|
hash: hash,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue