Frontend changes: Automatically delete unverified unconfirmed users
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
The backend portion for Automatically delete unverified unconfirmed use... (#352514 - closed) is complete via a few MRs:
- Add Settings to delete unconfirmed users (!122276 - merged)
- Cron job to delete unconfirmed users after N days (!122600 - merged)
- Admin can set unconfirmed user settings via API (!123737 - merged)
It is functional but the settings must be set via the API or a console. Setting these via the admin area (frontend) would be more user friendly.
Definition of done:
-
delete_unconfirmed_usersandunconfirmed_users_delete_after_dayssettings can be set via an Admin by visiting https://gdk.test:3443/admin/application_settings/general and expanding the "Account and limit" section.-
unconfirmed_users_delete_after_daysdefaults to7, must be an integer1or greater. - This feature is only available to Premium customers (
delete_unconfirmed_userslicense) - Idea: add frontend validation so that
delete_unconfirmed_userscannot be set totrueunlessemail_confirmation_settingsis set tosoftorhard. This is because we will not delete unconfirmed users unlessemail_confirmation_settingsis set tosoftorhard.
-
-
If delete_unconfirmed_usersis set totrue, on the page after sign-up (Almost there) let the recipient know that their account will be deleted unless they confirm their email withinunconfirmed_users_delete_after_daysdays after sign-up -
If delete_unconfirmed_usersis set totrue, in the confirmation email (Thanks for signing up to GitLab!), let the recipient know that their account will be deleted unless they confirm their email withinunconfirmed_users_delete_after_daysdays after sign-up.
Edited by 🤖 GitLab Bot 🤖