Extend confirmation period of emails to 7 days

Closes SCI-1432.
This commit is contained in:
Luka Murn 2017-07-11 08:32:52 +02:00
parent 19e0b64a7b
commit 19a8dfe116

View file

@ -105,7 +105,7 @@ Devise.setup do |config|
# The period the generated invitation token is valid, after
# this period, the invited resource won't be able to accept the invitation.
# When invite_for is 0 (the default), the invitation won't expire.
config.invite_for = 3.days
config.invite_for = 7.days
# Number of invitations users can send.
# - If invitation_limit is nil, there is no limit for invitations, users can
@ -163,7 +163,7 @@ Devise.setup do |config|
# 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 = 7.days
# If true, requires any email changes to be confirmed (exactly the same way as
# initial account confirmation) to be applied. Requires additional unconfirmed_email