Change email token expiry to 24 hours instead of 1 week

This commit is contained in:
Robin Ward 2014-03-04 13:02:48 -05:00
parent 5e6764e9c9
commit 90a1cb5bec
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class EmailToken < ActiveRecord::Base
end
def self.valid_after
1.week.ago
1.day.ago
end
def self.unconfirmed