scinote-web/db/seeds.rb

13 lines
224 B
Ruby
Raw Normal View History

2016-02-12 23:52:43 +08:00
include UsersGenerator
# Create admin user
2016-10-13 16:12:11 +08:00
admin_password = 'inHisHouseAtRlyehDeadCthulhuWaitsDreaming'
2016-02-12 23:52:43 +08:00
create_user(
2016-10-13 16:12:11 +08:00
'Admin',
'admin@scinote.net',
2016-02-12 23:52:43 +08:00
admin_password,
true,
Constants::DEFAULT_PRIVATE_ORG_NAME,
2016-02-12 23:52:43 +08:00
[]
)