Browse Source

Update confirmation link timeout to 24 hours (#1792)

pull/1817/head v0.3.45
Rachael Booth 1 year ago committed by GitHub
parent
commit
5d5054fc03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/initializers/devise.rb

2
config/initializers/devise.rb

@ -152,7 +152,7 @@ Devise.setup do |config|
# their account can't be confirmed with the token any more. # 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 # Default is nil, meaning there is no restriction on how long a user can take
# before confirming their account. # before confirming their account.
config.confirm_within = 3.hours config.confirm_within = 24.hours
# If true, requires any email changes to be confirmed (exactly the same way as # If true, requires any email changes to be confirmed (exactly the same way as
# initial account confirmation) to be applied. Requires additional unconfirmed_email # initial account confirmation) to be applied. Requires additional unconfirmed_email

Loading…
Cancel
Save