Confirm seed users
This commit is contained in:
parent
9f9be175e0
commit
f4733b0026
2 changed files with 3 additions and 0 deletions
|
@ -11,3 +11,5 @@ User.seed(:id, [
|
|||
theme_id: Gitlab::Theme::MARS
|
||||
}
|
||||
])
|
||||
|
||||
User.find(1).confirm!
|
||||
|
|
|
@ -12,6 +12,7 @@ admin = User.create(
|
|||
admin.projects_limit = 10000
|
||||
admin.admin = true
|
||||
admin.save!
|
||||
admin.confirm!
|
||||
|
||||
if admin.valid?
|
||||
puts %q[
|
||||
|
|
Loading…
Reference in a new issue