From 684e0e32f038497ee1f8acd950383d6bda14771f Mon Sep 17 00:00:00 2001 From: nishiki Date: Thu, 12 May 2016 23:39:50 +0200 Subject: [PATCH] fix password for wallet config --- lib/mpw/ui/cli.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/mpw/ui/cli.rb b/lib/mpw/ui/cli.rb index 59da85b..686e897 100644 --- a/lib/mpw/ui/cli.rb +++ b/lib/mpw/ui/cli.rb @@ -91,12 +91,12 @@ class Cli puts I18n.t('form.setup.title') puts '--------------------' - config['sync']['type'] = ask(I18n.t('form.setup.sync_type')).to_s - config['sync']['host'] = ask(I18n.t('form.setup.sync_host')).to_s - config['sync']['port'] = ask(I18n.t('form.setup.sync_port')).to_s - config['sync']['user'] = ask(I18n.t('form.setup.sync_user')).to_s - config['sync']['pwd'] = ask(I18n.t('form.setup.sync_pwd')).to_s - config['sync']['path'] = ask(I18n.t('form.setup.sync_path')).to_s + config['sync']['type'] = ask(I18n.t('form.setup.sync_type')).to_s + config['sync']['host'] = ask(I18n.t('form.setup.sync_host')).to_s + config['sync']['port'] = ask(I18n.t('form.setup.sync_port')).to_s + config['sync']['user'] = ask(I18n.t('form.setup.sync_user')).to_s + config['sync']['password'] = ask(I18n.t('form.setup.sync_pwd')).to_s + config['sync']['path'] = ask(I18n.t('form.setup.sync_path')).to_s @mpw.set_config(config) @mpw.write_data