Remote-Falcon / remote-falcon-issue-tracker

Remote Falcon Issue Tracker
0 stars 0 forks source link

Delete Unused Accounts #6

Open whitesoup12 opened 3 months ago

whitesoup12 commented 3 months ago

Is your feature request related to a problem? Please describe: Kind of. There are a lot of accounts that have signed up but have either never logged in or have not logged in in a long time.

Describe the solution you'd like: Need to add logic to the nightly batch process to removed unused accounts. To start, an unused account will be defined as any account that has not been logged into in the last 24 months. The first pass after 24 months will inactivate the account by setting the emailVerified value to false. The second pass will happen at 26 months. If the account emailVerified value is still false, the account will be deleted.