mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 07:18:14 -05:00
If `Confirmable#confirmation_sent_at` is equal to `0.days.ago`, then `confirmation_period_valid?` will be deemed valid even if the setting is configured to disable this outright. To prevent this error, we explicitly check the configuration setting to be `0.days.ago`.