Remove unneeded password_confirmation from seed.

This commit is contained in:
Ciro Santilli 2014-09-27 12:22:11 +02:00
parent c8bb171664
commit faab452af9
3 changed files with 0 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -20,7 +20,6 @@ FactoryGirl.define do
name
sequence(:username) { |n| "#{Faker::Internet.user_name}#{n}" }
password "12345678"
password_confirmation { password }
confirmed_at { Time.now }
confirmation_token { nil }