Create mascot account in seed (#14167)
This commit is contained in:
parent
3e425344ef
commit
499a283bba
1 changed files with 2 additions and 0 deletions
|
|
@ -153,6 +153,8 @@ seeder.create_if_doesnt_exist(User, "email", "admin@forem.local") do
|
|||
user.add_role(:tech_admin)
|
||||
end
|
||||
|
||||
Users::CreateMascotAccount.call unless Settings::General.mascot_user_id
|
||||
|
||||
##############################################################################
|
||||
|
||||
seeder.create_if_none(Tag) do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue