Visitor Documentation

Delete account

{exp:visitor:delete_form}

The delete account tag can be used to delete the currently logged in member account, excluding super-admin accounts.

Note

Make sure the membergroup setting “Can delete own account - deletes all posts, entries, and comments as well” is set to yes.

Delete account tag parameters

error_handling

Default off, set to “inline” to enable inline error handling.

secure_action

Forces the form to use https as its action. Defaults to “no”. Accepts yes/no

secure_return

Force the form to return to https. Defaults to “no”. Accepts yes/no

Example

{exp:visitor:delete_form error_handling="inline"}
<fieldset>
        When removing you account, you will have to provide your current password.
        <p>
                <label for="password" class="form-label">Current password:</label>
                <input type="password" name="password" id="password" class="form-text"  />
                {error:password}
        </p>
</fieldset>
<p>
        <input type="submit" value="Delete" class="button" />
</p>
{/exp:visitor:delete_form}

Support

Having problems setting up and/or using Visitor? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.