Spotter-VM/lxc-apps/decidim/install/adminpwd.rb

4 lines
164 B
Ruby
Raw Normal View History

user = Decidim::System::Admin.new(email: "${DECIDIM_ADMIN_EMAIL}", password: "${DECIDIM_ADMIN_PWD}", password_confirmation: "${DECIDIM_ADMIN_PWD}")
user.save!
quit