Not long ago we disabled 400k accounts due to being non-active in the past 4 years. Turns out, quite a few people want to still use their accounts and send email to bmo-admins to reactivate them. We get ~20 requests a week. Glob and I discussed possibly creating a way to allow them to reactivate their own accounts and no longer need admin involvement.
- Create a one-time use script to update the disabled text of the still disabled users to add a link to forgotten password feature of Bugzilla.
- This will allow the user to be emailed a link to allow resetting of their password.
- The above script will also update their password reset reason value to some known value that the back end can look for to allow resetting of the password.
- When they click on the email link and are directed to the password reset form, the back end code will see the special password reset reason value and will also clear the disabled text value allowing them to login as a normal user again.