-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
1 changed file
with
7 additions
and
7 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
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' | ||
|
@@ -129,10 +129,10 @@ | |
# config.pepper = '629d9082231299f3a799b1043c47e98d170fc043e1ecd6a874758a34c56bfaa054b5c975227c7d4e14e450178fca09c4a7dbdf1ff94c7bac6a60ddc883617dc5' | ||
|
||
# Send a notification to the original email when the user's email is changed. | ||
# config.send_email_changed_notification = false | ||
config.send_email_changed_notification = true | ||
|
||
# Send a notification email when the user's password is changed. | ||
# config.send_password_change_notification = false | ||
config.send_password_change_notification = true | ||
|
||
# ==> Configuration for :confirmable | ||
# A period that the user is allowed to access the website even without | ||
|
@@ -143,15 +143,15 @@ | |
# without confirming their account. | ||
# Default is 0.days, meaning the user cannot access the website without | ||
# confirming their account. | ||
# config.allow_unconfirmed_access_for = 2.days | ||
config.allow_unconfirmed_access_for = 1.hour | ||
|
||
# A period that the user is allowed to confirm their account before their | ||
# token becomes invalid. For example, if set to 3.days, the user can confirm | ||
# their account within 3 days after the mail was sent, but on the fourth day | ||
# their account can't be confirmed with the token any more. | ||
# Default is nil, meaning there is no restriction on how long a user can take | ||
# before confirming their account. | ||
# config.confirm_within = 3.days | ||
config.confirm_within = 1.hour | ||
|
||
# If true, requires any email changes to be confirmed (exactly the same way as | ||
# initial account confirmation) to be applied. Requires additional unconfirmed_email | ||
|
@@ -164,13 +164,13 @@ | |
|
||
# ==> Configuration for :rememberable | ||
# The time the user will be remembered without asking for credentials again. | ||
# config.remember_for = 2.weeks | ||
config.remember_for = 1.month | ||
|
||
# Invalidates all the remember me tokens when the user signs out. | ||
config.expire_all_remember_me_on_sign_out = true | ||
|
||
# If true, extends the user's remember period when remembered via cookie. | ||
# config.extend_remember_period = false | ||
config.extend_remember_period = true | ||
|
||
# Options to be passed to the created cookie. For instance, you can set | ||
# secure: true in order to force SSL only cookies. | ||
|