Guest User

Untitled

a guest
Jan 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Devise.setup do |config|
  2. ...
  3.  
  4. # ==> Configuration for :database_authenticatable
  5. # For bcrypt, this is the cost for hashing the password and defaults to 10. If
  6. # using other encryptors, it sets how many times you want the password re-encrypted.
  7. config.stretches = Rails.env.test? ? 1 : 10
  8. end
Add Comment
Please, Sign In to add comment