lib/crosstie/templates/devise.rb in crosstie-0.0.6 vs lib/crosstie/templates/devise.rb in crosstie-0.0.7
- old
+ new
@@ -1,7 +1,10 @@
# devise
generate "devise:install"
+# secret key
+gsub_file "config/initializers/devise.rb", "# config.secret_key", "config.secret_key"
+
# improve password strength
gsub_file "config/initializers/devise.rb", "config.password_length = 8..128", "config.password_length = 4..128"
# generate "devise:views" # taken over by rails_layout
generate "devise", "user"