diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 06:10:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 06:10:25 +0300 |
commit | bd1e3cbdeb153c9bf73abe3ba7bf3ecb7d203719 (patch) | |
tree | 6a71d0d6e4a71035058d662a9ed1c0dfbd92fff6 /db | |
parent | 6aead03bb3056c7ee0104311236c2ae06f0e2d18 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/production/002_admin.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/db/fixtures/production/002_admin.rb b/db/fixtures/production/002_admin.rb index 1c7c89f7bbd..b6a6da3a188 100644 --- a/db/fixtures/production/002_admin.rb +++ b/db/fixtures/production/002_admin.rb @@ -23,7 +23,11 @@ if user.persisted? puts "login: root".color(:green) if user_args.key?(:password) - puts "password: #{user_args[:password]}".color(:green) + if ::Settings.gitlab['display_initial_root_password'] + puts "password: #{user_args[:password]}".color(:green) + else + puts "password: *** - You opted not to display initial root password to STDOUT." + end else puts "password: You'll be prompted to create one on your first visit.".color(:green) end |