|
24 | 24 | # Configure the e-mail address which will be shown in Devise::Mailer,
|
25 | 25 | # note that it will be overwritten if you use your own mailer class
|
26 | 26 | # with default "from" parameter.
|
27 |
| - config.mailer_sender = '[email protected]' |
| 27 | + config.mailer_sender = "[email protected]" |
28 | 28 |
|
29 | 29 | # Configure the class responsible to send e-mails.
|
30 | 30 | # config.mailer = 'Devise::Mailer'
|
|
36 | 36 | # Load and configure the ORM. Supports :active_record (default) and
|
37 | 37 | # :mongoid (bson_ext recommended) by default. Other ORMs may be
|
38 | 38 | # available as additional gems.
|
39 |
| - require 'devise/orm/active_record' |
| 39 | + require "devise/orm/active_record" |
40 | 40 |
|
41 | 41 | # ==> Configuration for any authentication mechanism
|
42 | 42 | # Configure which keys are used when authenticating a user. The default is
|
|
58 | 58 | # Configure which authentication keys should be case-insensitive.
|
59 | 59 | # These keys will be downcased upon creating or modifying a user and when used
|
60 | 60 | # to authenticate or find a user. Default is :email.
|
61 |
| - config.case_insensitive_keys = [:email] |
| 61 | + config.case_insensitive_keys = [ :email ] |
62 | 62 |
|
63 | 63 | # Configure which authentication keys should have whitespace stripped.
|
64 | 64 | # These keys will have whitespace before and after removed upon creating or
|
65 | 65 | # modifying a user and when used to authenticate or find a user. Default is :email.
|
66 |
| - config.strip_whitespace_keys = [:email] |
| 66 | + config.strip_whitespace_keys = [ :email ] |
67 | 67 |
|
68 | 68 | # Tell if authentication through request.params is enabled. True by default.
|
69 | 69 | # It can be set to an array that will enable params authentication only for the
|
|
97 | 97 | # Notice that if you are skipping storage for all authentication paths, you
|
98 | 98 | # may want to disable generating routes to Devise's sessions controller by
|
99 | 99 | # passing skip: :sessions to `devise_for` in your config/routes.rb
|
100 |
| - config.skip_session_storage = [:http_auth] |
| 100 | + config.skip_session_storage = [ :http_auth ] |
101 | 101 |
|
102 | 102 | # By default, Devise cleans up the CSRF token on authentication to
|
103 | 103 | # avoid CSRF token fixation attacks. This means that, when using AJAX
|
|
0 commit comments