authorizer
authorizer copied to clipboard
Add cronjob to delete session at regular intervals
Feature Description
Authorizer saves each session request in db with IP & browser details so that, we can help user debug any support requests and make them aware about sessions with their email.
This could increase db size if we keep saving them. Ideally there could be a configurations which allows user to decide how long they want to save this details.
Describe the solution you'd like
Lets have ENV var called DELETE_SESSION_CRON_INTERVAL if mentioned we set the cron else we keep saving the data.
Describe alternatives you've considered
Additional context