empowerhack / DrawMyLife-Service

API and Admin system for the Draw My Life initiative - Volunteers: check README and GitHub Projects to get started.
https://github.com/empowerhack/DrawMyLife-Service/projects
MIT License
13 stars 0 forks source link

Adds timeframe to confirmation email #156

Closed steverabino closed 7 years ago

steverabino commented 7 years ago

Addresses issue: #155

What this does

Screenshots

Before

image

After

Devise.confirm_within = 7.days

image

Devise.confirm_within = 4.months

image

Devise.confirm_within = nil

image

Deploy Instructions

No special requirements. Restart will be required if you want to change the value of Devise.confirm_within.

steverabino commented 7 years ago

Great QA-ing! I've found that Devise.confirm_within.inspect will actually just print out the config as "7 days" or whatever it is set as!

image

image