Commit 577fe180 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7878 from cirosantilli/rm-seed-password-confirmation

Remove unneeded password_confirmation from seed.
parents 539be244 faab452a
...@@ -5,7 +5,6 @@ Gitlab::Seeder.quiet do ...@@ -5,7 +5,6 @@ Gitlab::Seeder.quiet do
s.email = 'admin@example.com' s.email = 'admin@example.com'
s.username = 'root' s.username = 'root'
s.password = '5iveL!fe' s.password = '5iveL!fe'
s.password_confirmation = '5iveL!fe'
s.admin = true s.admin = true
s.projects_limit = 100 s.projects_limit = 100
s.confirmed_at = DateTime.now s.confirmed_at = DateTime.now
......
...@@ -11,7 +11,6 @@ admin = User.create( ...@@ -11,7 +11,6 @@ admin = User.create(
name: "Administrator", name: "Administrator",
username: 'root', username: 'root',
password: password, password: password,
password_confirmation: password,
password_expires_at: expire_time, password_expires_at: expire_time,
theme_id: Gitlab::Theme::MARS theme_id: Gitlab::Theme::MARS
......
...@@ -20,7 +20,6 @@ FactoryGirl.define do ...@@ -20,7 +20,6 @@ FactoryGirl.define do
name name
sequence(:username) { |n| "#{Faker::Internet.user_name}#{n}" } sequence(:username) { |n| "#{Faker::Internet.user_name}#{n}" }
password "12345678" password "12345678"
password_confirmation { password }
confirmed_at { Time.now } confirmed_at { Time.now }
confirmation_token { nil } confirmation_token { nil }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment