mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:23:10 +00:00
Update date threshold to show the per-user TC dialog.
This commit is contained in:
parent
7b85661035
commit
d576aa5b9d
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ module.exports = ProjectController =
|
|||
return cb()
|
||||
timestamp = user_id.toString().substring(0,8)
|
||||
userSignupDate = new Date( parseInt( timestamp, 16 ) * 1000 )
|
||||
if userSignupDate > new Date("2018-01-01") # 8th March
|
||||
if userSignupDate > new Date("2017-08-02")
|
||||
# Don't show for users who registered after it was released
|
||||
return cb(null, false)
|
||||
timeout = setTimeout cb, 500
|
||||
|
|
Loading…
Reference in a new issue