mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Make default user active by default
This commit is contained in:
parent
51b9b0d4ae
commit
685b9a38c2
1 changed files with 3 additions and 1 deletions
|
|
@ -7,7 +7,9 @@ if User.none?
|
|||
email: 'demo@dawarich.app',
|
||||
password: 'password',
|
||||
password_confirmation: 'password',
|
||||
admin: true
|
||||
admin: true,
|
||||
active: true,
|
||||
active_until: 100.years.from_now
|
||||
)
|
||||
|
||||
puts "User created: #{User.first.email} / password: 'password'"
|
||||
|
|
|
|||
Loading…
Reference in a new issue