User account expiration
The data model contains accountExpires
date, but it is not currently used.
- Update
accountExpires
to +6 months on every successful login - Add scheduled task to send email notification to users 40 days before expiration.
- Add scheduled task to send email notification to users 10 days before expiration.
- Add scheduled task that calls remove account function (see #252 (closed)) for all accounts past expiration date.
- Alternatively: just disable the user account and remove accounts manually through admin tool.
Different email templates are required for email notifications.