diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index c9372900d..28e701cf6 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -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