Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded password_confirmation from seed. #7878

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion db/fixtures/development/01_admin.rb
Expand Up @@ -5,7 +5,6 @@
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
Expand Down
1 change: 0 additions & 1 deletion db/fixtures/production/001_admin.rb
Expand Up @@ -11,7 +11,6 @@
name: "Administrator",
username: 'root',
password: password,
password_confirmation: password,
password_expires_at: expire_time,
theme_id: Gitlab::Theme::MARS

Expand Down
1 change: 0 additions & 1 deletion spec/factories.rb
Expand Up @@ -20,7 +20,6 @@
name
sequence(:username) { |n| "#{Faker::Internet.user_name}#{n}" }
password "12345678"
password_confirmation { password }
confirmed_at { Time.now }
confirmation_token { nil }

Expand Down