Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit eba8b1ba authored by Ayush Singh's avatar Ayush Singh
Browse files

Merge branch 'username' into 'main'

gui: Add default username

Closes #51

See merge request !46
parents 26ba03d8 cc20fdb3
Branches
Tags
1 merge request!46gui: Add default username
Pipeline #23914 passed with stages
in 7 minutes and 41 seconds
......@@ -138,7 +138,7 @@ fn uname_pass_form(
.label("Configure Username and Password")
.on_toggle(|t| {
let c = if t {
Some((String::new(), String::new()))
Some((std::env::var("USER").unwrap_or_default(), String::new()))
} else {
None
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment