Update signup date check to today

This commit is contained in:
Alasdair Smith 2017-10-03 10:48:59 +01:00
parent a3800a321b
commit 91e0397bf5

View file

@ -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