Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Hide password during typing it in symfony.configure.database. sysadmi…

…n will like it :)
  • Loading branch information...
commit 36e81bc791fb96e738e27781c0455067193613f7 1 parent 6ef3215
@arlo arlo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/capifony.rb
View
2  lib/capifony.rb
@@ -153,7 +153,7 @@ def load_database_config(data, env)
task :database do
prompt_with_default(:dsn, "mysql:host=localhost;dbname=example_dev")
prompt_with_default(:user, "root")
- prompt_with_default(:pass, "")
+ prompt_with_default(:pass, "") { |q| q.echo = "x" }
run "#{php_bin} #{latest_release}/symfony configure:database '#{dsn}' '#{user}' '#{pass}'"
end
Please sign in to comment.
Something went wrong with that request. Please try again.