mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 16:43:09 +08:00
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…
x
Reference in New Issue
Block a user