How it works
- The visitor clicks Delete Profile. A popup opens in the middle of the screen, above the rest of the page, with a warning. Clicking the dark area or pressing Escape closes it.
- The visitor types the confirm word (CONFIRM by default) in the field. The red Yes, delete my profile button stays locked until the word matches. Capital letters do not matter.
- The visitor clicks the red button. The profile is deleted, the visitor is signed out and taken to your sign-in page.
- No password is asked for, so this works the same for people who signed up with a password, Google, a magic link or a code.
Properties
Features
- A confirmation popup in the middle of the screen, so a mis-click cannot delete anything
- The red button stays locked until the visitor types the confirm word
- Works the same for every sign-in method (password, Google, magic link, code)
- Signs the visitor out and opens your sign-in page, or any page you choose
- Hidden from signed-out visitors by default
- Style the field, label, focus and error text like the other forms, and set your own warning text
What is deleted
- The profile can no longer sign in, and every active session ends.
- Personal data is removed: the name is replaced with “Deleted user”, the email is replaced with a placeholder, and the password, profile picture, custom fields and billing link are cleared.
- Only the account ID, the workspace, the access grants and labels, and the dates are kept so your records stay consistent.
- The same email address can sign up again later as a new account.
- It cannot be undone from the panel.
Deactivated visitors
If you deactivate a visitor in the plugin, they can still delete their own profile while they are still signed in. After their next page load they are signed out and cannot reach the button, so they would need you to delete the identity from the Identities page.Keep in mind
Typing a word is a safeguard against a mis-click, not a security check. Anyone using a browser where the visitor is still signed in can type it. If that matters for your site, keep the button on a page that signed-out visitors cannot open, and consider asking visitors to sign out on shared computers.Usage
Place it on a profile or settings page that only signed-in visitors can open, for example next to the Profile Form. Add the page as a protected page in the plugin so signed-out visitors cannot reach it.Deleting a profile here is different from you deleting an identity in the plugin’s Identities page. When you delete an identity, the person’s data is kept so you can still see who was removed.