Skip to content

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:

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_users and unconfirmed_users_delete_after_days settings 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_days defaults to 7, must be an integer 1 or greater.
    • This feature is only available to Premium customers (delete_unconfirmed_users license)
    • Idea: add frontend validation so that delete_unconfirmed_users cannot be set to true unless email_confirmation_settings is set to soft or hard. This is because we will not delete unconfirmed users unless email_confirmation_settings is set to soft or hard.
  • If delete_unconfirmed_users is set to true, on the page after sign-up (Almost there) let the recipient know that their account will be deleted unless they confirm their email within unconfirmed_users_delete_after_days days after sign-up
  • If delete_unconfirmed_users is set to true, 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 within unconfirmed_users_delete_after_days days after sign-up.
Edited by 🤖 GitLab Bot 🤖