Hi,
I’m trying to customize the Strapi user-permission user delete function. If you’re wondering why, I’ve been asked to update the username and email to some random text before it gets deleted. So, I followed the instructions from this topic, Customize Strapi users permissions services and added console.log() in remove function to check if the function gets invoked. However, when I delete a user from, /admin/plugins/content-manager/collectionType/plugins::users-permissions.user page, I never see the message logged in the console. Can someone please tell me what I’m doing wrong and how to override the delete/remove user function?
System Information
- Strapi Version: 3.6.2
- Operating System: Linux
- Database: Mongodb 4.0
- Node Version:
- NPM Version:
- Yarn Version: