Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-18 21:38:41 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-18 21:38:41 +0300
commit577fe18073d45e62db5c6a0d308d9bfa81a3a26f (patch)
tree1fe0abda1f1dd6f66ed6835090188f0438376103 /db
parent539be2441ae1ef3ba6f1a52c7583e8cb5deebd22 (diff)
parentfaab452af92dbdbdb45d399fc5bbe85bb345cb9d (diff)
Merge pull request #7878 from cirosantilli/rm-seed-password-confirmation
Remove unneeded password_confirmation from seed.
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/01_admin.rb1
-rw-r--r--db/fixtures/production/001_admin.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/db/fixtures/development/01_admin.rb b/db/fixtures/development/01_admin.rb
index 004d4cd64a1..1b2dec31323 100644
--- a/db/fixtures/development/01_admin.rb
+++ b/db/fixtures/development/01_admin.rb
@@ -5,7 +5,6 @@ Gitlab::Seeder.quiet do
s.email = 'admin@example.com'
s.username = 'root'
s.password = '5iveL!fe'
- s.password_confirmation = '5iveL!fe'
s.admin = true
s.projects_limit = 100
s.confirmed_at = DateTime.now
diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb
index 0755ac714e1..8b560ee09e0 100644
--- a/db/fixtures/production/001_admin.rb
+++ b/db/fixtures/production/001_admin.rb
@@ -11,7 +11,6 @@ admin = User.create(
name: "Administrator",
username: 'root',
password: password,
- password_confirmation: password,
password_expires_at: expire_time,
theme_id: Gitlab::Theme::MARS