global

def password_hash_cost

def password_hash_cost
  require 'bcrypt'
  if ENV['RACK_ENV'] == 'test'
    BCrypt::Engine::MIN_COST
  else
    # :nocov:
    BCrypt::Engine::DEFAULT_COST
    # :nocov:
  end
end