Make default user active by default

This commit is contained in:
Eugene Burmakin 2025-05-18 11:37:33 +02:00
parent 51b9b0d4ae
commit 685b9a38c2

View file

@ -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'"