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
|
end
|
||||||
|
|
||||||
def self.valid_after
|
def self.valid_after
|
||||||
1.week.ago
|
1.day.ago
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.unconfirmed
|
def self.unconfirmed
|
||||||
|
|
Loading…
Reference in New Issue