lib/match/change_password.rb in match-0.6.3 vs lib/match/change_password.rb in match-0.6.4

- old
+ new

@@ -12,12 +12,12 @@ GitHelper.commit_changes(workspace, message, params[:git_url], params[:git_branch]) end def self.ask_password(message: "Passphrase for Git Repo: ", confirm: true) loop do - password = ask(message.yellow) { |q| q.echo = "*" } + password = UI.password(message) if confirm - password2 = ask("Type passphrase again: ".yellow) { |q| q.echo = "*" } + password2 = UI.password("Type passphrase again: ") if password == password2 return password end else return password