mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: consider staged users mature (no spam checks) after 1 day
This commit is contained in:
@@ -1075,7 +1075,7 @@ class User < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def mature_staged?
|
||||
from_staged? && self.created_at && self.created_at < 1.week.ago
|
||||
from_staged? && self.created_at && self.created_at < 1.day.ago
|
||||
end
|
||||
|
||||
protected
|
||||
|
Reference in New Issue
Block a user