-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
58 additions
and
59 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
# Configure the e-mail address which will be shown in Devise::Mailer, | ||
# note that it will be overwritten if you use your own mailer class | ||
# with default "from" parameter. | ||
config.mailer_sender = '[email protected]' | ||
config.mailer_sender = "[email protected]" | ||
|
||
# Configure the class responsible to send e-mails. | ||
# config.mailer = 'Devise::Mailer' | ||
|
@@ -36,7 +36,7 @@ | |
# Load and configure the ORM. Supports :active_record (default) and | ||
# :mongoid (bson_ext recommended) by default. Other ORMs may be | ||
# available as additional gems. | ||
require 'devise/orm/active_record' | ||
require "devise/orm/active_record" | ||
|
||
# ==> Configuration for any authentication mechanism | ||
# Configure which keys are used when authenticating a user. The default is | ||
|
@@ -58,12 +58,12 @@ | |
# Configure which authentication keys should be case-insensitive. | ||
# These keys will be downcased upon creating or modifying a user and when used | ||
# to authenticate or find a user. Default is :email. | ||
config.case_insensitive_keys = [:email] | ||
config.case_insensitive_keys = [ :email ] | ||
|
||
# Configure which authentication keys should have whitespace stripped. | ||
# These keys will have whitespace before and after removed upon creating or | ||
# modifying a user and when used to authenticate or find a user. Default is :email. | ||
config.strip_whitespace_keys = [:email] | ||
config.strip_whitespace_keys = [ :email ] | ||
|
||
# Tell if authentication through request.params is enabled. True by default. | ||
# It can be set to an array that will enable params authentication only for the | ||
|
@@ -97,7 +97,7 @@ | |
# Notice that if you are skipping storage for all authentication paths, you | ||
# may want to disable generating routes to Devise's sessions controller by | ||
# passing skip: :sessions to `devise_for` in your config/routes.rb | ||
config.skip_session_storage = [:http_auth] | ||
config.skip_session_storage = [ :http_auth ] | ||
|
||
# By default, Devise cleans up the CSRF token on authentication to | ||
# avoid CSRF token fixation attacks. This means that, when using AJAX | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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