lib/vagrant-orchestrate/action/setcredentials.rb in vagrant-orchestrate-0.4.2 vs lib/vagrant-orchestrate/action/setcredentials.rb in vagrant-orchestrate-0.4.3

- old
+ new

@@ -56,16 +56,17 @@ end def prompt_username default = ENV["USERNAME"] default ||= ENV["USER"] - username = @ui.ask("username? [#{default}]") + default = ENV["USERDOMAIN"] + "\\" + default if ENV["USERDOMAIN"] + username = @ui.ask("username? [#{default}] ") username = default if username.empty? username end def prompt_password - @ui.ask("password?", echo: false) + @ui.ask("password? ", echo: false) end def check_creds_file(config_creds) file_path = config_creds.file_path return unless file_path