Module: Devise

Defined in:
lib/devise-security.rb,
lib/devise-security/models/expirable.rb,
lib/devise-security/models/compatibility.rb,
lib/devise-security/models/session_limitable.rb,
lib/devise-security/models/password_expirable.rb,
lib/devise-security/models/secure_validatable.rb,
lib/devise-security/models/password_archivable.rb,
lib/devise-security/models/paranoid_verification.rb,
lib/devise-security/models/security_questionable.rb,
lib/devise-security/models/database_authenticatable_patch.rb

Defined Under Namespace

Modules: Models

Constant Summary collapse

@@expire_password_after =
3.months
@@password_complexity =
{ digit: 1, lower: 1, symbol: 1, upper: 1 }
@@password_archiving_count =
5
@@deny_old_passwords =
true
@@email_validation =
true
@@captcha_for_recover =
false
@@captcha_for_sign_up =
false
@@captcha_for_sign_in =
false
@@captcha_for_unlock =
false
@@security_question_for_recover =
false
@@security_question_for_unlock =
false
@@security_question_for_confirmation =
false
@@captcha_for_confirmation =
false
@@verification_code_generator =
-> { SecureRandom.hex[0..4] }
@@expire_after =
90.days
@@delete_expired_after =
90.days
@@paranoid_code_regenerate_after_attempt =
10