lib/generators/pageflow/seeds/templates/seeds.rb in pageflow-12.0.4 vs lib/generators/pageflow/seeds/templates/seeds.rb in pageflow-12.1.0
- old
+ new
@@ -1,9 +1,11 @@
+# This file was generated by Pageflow.
+# It will create example users for each of the Pageflow roles.
+# Feel free to edit or remove it; these entries are not required for Pageflow to function.
+
include Pageflow::Seeds
-# Make sure to change the password if you intend to apply this seed to
-# a production system.
-default_user_password('!Pass123')
+default_user_password('<%= password %>')
publisher_account = account(name: 'Acme Corporation')
editor_account = account(name: 'General Products')
previewer_account = account(name: 'Oscorp')
member_account = account(name: 'Stagg Enterprises')