How to make the registration link expire?

I honestly have no idea why the heck we didn’t enable timestamps on that model. Short term you can use patch-package and inject

"options": {
    "timestamps": true
  },

On this file: strapi/User.settings.json at master · strapi/strapi · GitHub

And go forward with your cronjob idea (although if you are planning to scale horizontally or vertically you’ll need to go the custom route => external cronjob)

1 Like