config/initializers/devise.rb in spree_auth-0.70.7 vs config/initializers/devise.rb in spree_auth-1.0.0.rc1
- old
+ new
@@ -1,14 +1,14 @@
# Use this hook to configure devise mailer, warden hooks and so forth. The first
# four configuration values can also be set straight in your models.
Devise.setup do |config|
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in DeviseMailer.
- config.mailer_sender = "please-change-me@config-initializers-devise.com"
+ config.mailer_sender = 'please-change-me@config-initializers-devise.com'
# Configure the class responsible to send e-mails.
- config.mailer = "UserMailer"
+ config.mailer = 'Spree::UserMailer'
# ==> ORM configuration
# Load and configure the ORM. Supports :active_record (default) and
# :mongoid (bson_ext recommended) by default. Other ORMs may be
# available as additional gems.
@@ -30,19 +30,19 @@
# Set this to true to use Basic Auth for AJAX requests. True by default.
#config.http_authenticatable_on_xhr = false
# The realm used in Http Basic Authentication
- config.http_authentication_realm = "Spree Application"
+ config.http_authentication_realm = 'Spree Application'
# ==> 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 = 20
# Setup a pepper to generate the encrypted password.
- config.pepper = "0bfa9e2cb4a5efd0d976518a3d82e345060547913d2fd1dd2f32b0c8dbbbb5d3dc20b86d0fed31aca9513bccdf51643700ea277d9c64d9ce8ef886bf39293453"
+ config.pepper = '0bfa9e2cb4a5efd0d976518a3d82e345060547913d2fd1dd2f32b0c8dbbbb5d3dc20b86d0fed31aca9513bccdf51643700ea277d9c64d9ce8ef886bf39293453'
# ==> Configuration for :confirmable
# The time you want to give your user to confirm his account. During this time
# he will be able to access your application without confirming. Default is nil.
# When confirm_within is zero, the user won't be able to sign in without confirming.
@@ -96,11 +96,11 @@
# ==> Configuration for :token_authenticatable
# Defines name of the authentication token params key
config.token_authentication_key = :auth_token
# ==> Scopes configuration
- # Turn scoped views on. Before rendering "sessions/new", it will first check for
- # "users/sessions/new". It's turned off by default because it's slower if you
+ # Turn scoped views on. Before rendering 'sessions/new', it will first check for
+ # 'users/sessions/new'. It's turned off by default because it's slower if you
# are using only default views.
# config.scoped_views = true
# Configure the default scope given to Warden. By default it's the first
# devise role declared in your routes.
\ No newline at end of file