Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Sep 3, 2023
1 parent 7e92171 commit 91bd848
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions lila-docker-rs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,18 @@ fn main() -> std::io::Result<()> {
.interact()?;

let (su_password, password) = if setup_database {
let su_password: String = input("Choose a password for admin users (blank for 'password')")
.placeholder("password")
.default_input("password")
.required(false)
.interact()?;

let password: String = input("Choose a password for regular users (blank for 'password')")
.placeholder("password")
.default_input("password")
.required(false)
.interact()?;

(su_password, password)
(
input("Choose a password for admin users (blank for 'password')")
.placeholder("password")
.default_input("password")
.required(false)
.interact()?,
input("Choose a password for regular users (blank for 'password')")
.placeholder("password")
.default_input("password")
.required(false)
.interact()?,
)
} else {
(String::from(""), String::from(""))
};
Expand Down

0 comments on commit 91bd848

Please sign in to comment.