Hello,
Please how can I enable buddypress users to verify their account password before they are allowed to delete their account.
There should be a form of security confirmation before a user proceeds to delete his account.
For example,1. the user clicks delete account on the setting page
2. user inputs his current password in the password input field(for security confirmation)
3. user clicks the (delete account) button to successfully delete account
4. If the password is wrong then the delete request should not be submitted followed by an error messageThanks
This password confirmation field is currently available in settings > general to change new email or password.
This feature could be helpful in various situations like logging in to buddypress account on a public cafe or laptop and forgetting to logout and another person(evil for unknown reasons) decides to delete your account, the password confirmation can prevent this.
- This reply was modified 5 years, 5 months ago by Tosin.
Hi Tosin,
Thank you for the idea. I do like it.I did check the BuddyPress settings template and I don’t see any way(unless using js) to inject a field for entering password.
That means, the settings template will need to be modified by the user. That’s why a generic plugin is not feasible currently.
I and my team will be glad to post a blog post about it and share how to accomplish the same using some code(with how to modify settings page).
Will that work for you?
Thank you
BrajeshIt’s a really good idea. Maybe there would be a way to redirect through a wordpress page where the password would have to be entered before going to the page with the delete button.
Hi Tosin, Mike,
Thank you both of you.We are going to see if we can get it in next release of BuddyPress.
Regards
BrajeshHi Tosin,
I haven’t checked it recently. I will check and update you.For custom theme’s It can be accomplished by copying the template and modifying it in the theme.
Regards
Brajesh
You must be logged in to reply to this topic.