mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Update signup date check to today
This commit is contained in:
parent
a3800a321b
commit
91e0397bf5
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ module.exports = ProjectController =
|
||||||
return cb()
|
return cb()
|
||||||
timestamp = user_id.toString().substring(0,8)
|
timestamp = user_id.toString().substring(0,8)
|
||||||
userSignupDate = new Date( parseInt( timestamp, 16 ) * 1000 )
|
userSignupDate = new Date( parseInt( timestamp, 16 ) * 1000 )
|
||||||
if userSignupDate > new Date("2017-10-05")
|
if userSignupDate > new Date("2017-10-03")
|
||||||
# Don't show for users who registered after it was released
|
# Don't show for users who registered after it was released
|
||||||
return cb(null, false)
|
return cb(null, false)
|
||||||
timeout = setTimeout cb, 500
|
timeout = setTimeout cb, 500
|
||||||
|
|
Loading…
Reference in a new issue