-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated command for deletion of unverified users #3386
base: main
Are you sure you want to change the base?
Conversation
can we have atleast a week and 2 reminder emails before it automatically deleting an account? if all the users will be removed, will it check the accounts that are getting deleted got the mails & it's past 1 week since the first reminder and remove only those who fulfils the criteria?
|
|
there is an issue with sending emails to everyone, what if the users were spam signups and these are people's real email addresses that they didn't sign up with? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for the first time we run this we need a different approach.
@DonnieBLT sir, that approach should I follow for the first execution? |
Print a list . The following 100 users have not verified their email. Then have a flag auto_delete=false |
okay, so in the first execution there won't be any automatic deletion but rather just print a list of unverified users? |
Closes: #3387
Test run without making changes
python manage.py cleanup_unverified_users --dry-run
Actually run the cleanup
python manage.py cleanup_unverified_users