To disable delete account function, follow the steps below:
Go to Open edX server console.
Open and edit LMS configuration (
Then find the
"FEATURES"configuration, add ENABLE_ACCOUNT_DELETION into
"FEATURES"array and set to false. See the following codes snippet:
... FEATURES: ENABLE_ACCOUNT_DELETION: false ...
Restart LMS services.