Created
August 11, 2015 08:09
-
-
Save yamaaki/36ffd7ce8e7e7e8e8b1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Devise.setup do |config| | |
require 'devise/orm/active_record' | |
config.mailer_sender = '[email protected]' | |
config.case_insensitive_keys = [:email] | |
config.strip_whitespace_keys = [:email] | |
config.skip_session_storage = [:http_auth] | |
config.stretches = Rails.env.test? ? 1 : 10 | |
config.reconfirmable = true | |
config.expire_all_remember_me_on_sign_out = true | |
config.password_length = 8..72 | |
config.reset_password_within = 6.hours | |
config.sign_out_via = :delete | |
config.scoped_views = true | |
config.sign_out_all_scopes = false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment