Change email token expiry to 24 hours instead of 1 week
This commit is contained in:
parent
5e6764e9c9
commit
90a1cb5bec
|
@ -19,7 +19,7 @@ class EmailToken < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def self.valid_after
|
||||
1.week.ago
|
||||
1.day.ago
|
||||
end
|
||||
|
||||
def self.unconfirmed
|
||||
|
|
Loading…
Reference in New Issue