Permalink
Browse files

update generator

  • Loading branch information...
traxanos committed Jun 7, 2011
1 parent 95bae09 commit 6acf2c0da68968e2e0746667c77b5f8476e07a49
Showing with 9 additions and 1 deletion.
  1. +9 −1 lib/generators/devise_security_extension/install_generator.rb
@@ -18,7 +18,15 @@ def add_configs
" # config.deny_old_passwords = true\n\n" +
" # enable email validation for :secure_validatable. (true, false, validation_options)\n" +
" # dependency: need an email validator like rails_email_validator\n" +
- " # config.email_validation = true" +
+ " # config.email_validation = true\n\n" +
+ " # captcha integration for recover form\n" +
+ " # config.captcha_for_recover = true\n\n" +
+ " # captcha integration for sign up form\n" +
+ " # config.captcha_for_sign_up = true\n\n" +
+ " # captcha integration for sign in form\n" +
+ " # config.captcha_for_sign_in = true\n\n" +
+ " # captcha integration for unlock form\n" +
+ " # config.captcha_for_unlock = true" +
"\n", :before => /end[ |\n|]+\Z/
end

0 comments on commit 6acf2c0

Please sign in to comment.