Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Devise.setup do |config|
- ...
- # ==> Configuration for :database_authenticatable
- # For bcrypt, this is the cost for hashing the password and defaults to 10. If
- # using other encryptors, it sets how many times you want the password re-encrypted.
- config.stretches = Rails.env.test? ? 1 : 10
- end
Add Comment
Please, Sign In to add comment