diff options
author | Job van der Voort <jobvandervoort@gmail.com> | 2015-04-21 17:21:51 +0300 |
---|---|---|
committer | Job van der Voort <jobvandervoort@gmail.com> | 2015-04-21 17:21:51 +0300 |
commit | a8e93b7f51d968c1380ed210499869b62b07fd15 (patch) | |
tree | c864e80dfd9cf4f83fcede678acc986e3a125bf5 /db/fixtures/production | |
parent | 0625b15a481b3a3edd88110b3c18031ad9068d2f (diff) |
Version 7.10.0.rc5v7.10.0.rc5
Diffstat (limited to 'db/fixtures/production')
-rw-r--r-- | db/fixtures/production/001_admin.rb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb deleted file mode 100644 index 8b560ee09e0..00000000000 --- a/db/fixtures/production/001_admin.rb +++ /dev/null @@ -1,31 +0,0 @@ -if ENV['GITLAB_ROOT_PASSWORD'].blank? - password = '5iveL!fe' - expire_time = Time.now -else - password = ENV['GITLAB_ROOT_PASSWORD'] - expire_time = nil -end - -admin = User.create( - email: "admin@example.com", - name: "Administrator", - username: 'root', - password: password, - password_expires_at: expire_time, - theme_id: Gitlab::Theme::MARS - -) - -admin.projects_limit = 10000 -admin.admin = true -admin.save! -admin.confirm! - -if admin.valid? -puts %Q[ -Administrator account created: - -login.........root -password......#{password} -] -end |