Lines Matching refs:config

3 Devise.setup do |config|
8 config.secret_key = Ontohub::Application.config.secret_token
14 config.mailer_sender =
18 "#{Settings.email}@#{Ontohub::Application.config.fqdn}"
22 config.mailer = 'Devise::Mailer'
38 # config.authentication_keys = [ :email ]
45 # config.request_keys = []
50 config.case_insensitive_keys = [ :email ]
55 config.strip_whitespace_keys = [ :email ]
59 # given strategies, for example, `config.params_authenticatable = [:database]` will
61 # config.params_authenticatable = true
65 # given strategies, for example, `config.http_authenticatable = [:database]` will
68 config.http_authenticatable = true
71 # config.http_authenticatable_on_xhr = true
74 # config.http_authentication_realm = 'Application'
79 # config.paranoid = true
85 # passing :skip => :sessions to `devise_for` in your config/routes.rb
86 config.skip_session_storage = [:http_auth]
92 # config.clean_up_csrf_token_on_authentication = true
101 config.stretches = Rails.env.test? ? 1 : 10
104 # config.pepper = "918017a2e216259ef6b9e4decd2f163b08937f8d3055f4015baa05cba247b492c8ff49de5185b9f75a52916970c7b4da5466e43dca0d4ec1911e1d3b56b83cef"
112 config.allow_unconfirmed_access_for = Settings.allow_unconfirmed_access_for_days.days
120 # config.confirm_within = 3.days
126 config.reconfirmable = true
129 # config.confirmation_keys = [ :email ]
133 # config.remember_for = 2.weeks
136 # config.extend_remember_period = false
140 # config.rememberable_options = {}
144 config.password_length = 8..128
149 # config.email_regexp = /\A[^@]+@[^@]+\z/
154 # config.timeout_in = 30.minutes
157 # config.expire_auth_token_on_timeout = false
163 # config.lock_strategy = :failed_attempts
166 # config.unlock_keys = [ :email ]
173 # config.unlock_strategy = :both
177 # config.maximum_attempts = 20
180 # config.unlock_in = 1.hour
183 # config.last_attempt_warning = false
188 # config.reset_password_keys = [ :email ]
193 config.reset_password_within = 6.hours
203 # config.encryptor = :sha512
209 # config.scoped_views = false
213 # config.default_scope = :user
217 # config.sign_out_all_scopes = true
228 # config.navigational_formats = ['*/*', :html]
231 config.sign_out_via = :delete
236 # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
240 # change the failure app, you can configure them inside the config.warden block.
242 # config.warden do |manager|
255 # config.router_name = :my_engine
259 # config.omniauth_path_prefix = '/my_engine/users/auth'