diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-10-15 12:23:25 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-10-15 12:23:25 +0300 |
commit | f4733b0026c717dcbbb357a5c31dd946c6af13b1 (patch) | |
tree | 484df957015f2aa5cccf2c57fd140561cfa1ab06 /db/fixtures | |
parent | 9f9be175e0cd39c36f1c195f4334ce7491b09c32 (diff) | |
download | gitlab-ce-f4733b0026c717dcbbb357a5c31dd946c6af13b1.tar.gz |
Confirm seed users
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/01_admin.rb | 2 | ||||
-rw-r--r-- | db/fixtures/production/001_admin.rb | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/db/fixtures/development/01_admin.rb b/db/fixtures/development/01_admin.rb index ecea8211393..3e76d76e838 100644 --- a/db/fixtures/development/01_admin.rb +++ b/db/fixtures/development/01_admin.rb @@ -11,3 +11,5 @@ User.seed(:id, [ theme_id: Gitlab::Theme::MARS } ]) + +User.find(1).confirm! diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb index 1b77d94905d..a919fad7040 100644 --- a/db/fixtures/production/001_admin.rb +++ b/db/fixtures/production/001_admin.rb @@ -12,6 +12,7 @@ admin = User.create( admin.projects_limit = 10000 admin.admin = true admin.save! +admin.confirm! if admin.valid? puts %q[ |