<!-- TITLE: Delete Account - Magento 2 module documentation--> <!-- SUBTITLE: Author: Marek Milewski --> # Delete Account Module ## Module overview Let your customers have a full control over their account. Delete Account module lets them delete account (sensitive data will be anonymised) without any supervision from your worker. ## Module compatibility This module is compatibile with Magento Community versions: **2.2** and **2.3**. ## How it works Once installed, you immediately gain access to module features. There are not any settings to be made in an admin panel. To delete account, user should log in and head to the account settings. ![Image 2](/uploads/delete-my-account/image-2.png "Image 2") **Account Delete** will be located in the navigation tab. Clicking on a button redirects user to the **delete account page**. ![Image 9](/uploads/delete-my-account/image-9.png "Image 9") **Delete My Account** button will not delete account immediately, user will be prompt with a confirmation message. Afterwards customer will be alerted, whether the confirmation email was sent. ![Image 10](/uploads/delete-my-account/image-10.png "Image 10") ![Image 4](/uploads/delete-my-account/image-4.png "Image 4") To finalise deleting, user should go to their email inbox. Delete confirmation email looks like presented below. After clicking on delete My Account, account will be deleted - all of user sensitive data will be anonymised. ![Image 8](/uploads/delete-my-account/image-8.png "Image 8") ## Demo demo2.magecreation.com ## Installation ### Composer 1. Add repo to composer.json: ```text "repositories": [ ... { "type": "vcs", "url": "git@git.auroracreation.com:aurora-modules/Deleteaccount.git" } ... ], ``` 2. Add package to composer.json: ```text "require": { ... "aurora/deleteaccount": "*" ... }, ``` 3. In Magento root folder run commands: ```text composer update aurora/deleteaccount php bin/magento module:enable Aurora_Deleteaccount php bin/magento setup:upgrade ``` ### Manual 1. Unzip archive. 2. Upload extension files on your server to: ```text {Magento root} └── app/ └── code ``` 3. In Magento root folder run commands: ```text php bin/magento module:enable Aurora_Deleteaccount php bin/magento setup:upgrade ``` ## Changelog ### v1.2.10 - Update unit tests. ### v1.2.9 - Code refactoring - coding standards, type hints. ### v1.2.8 - Update composer.json. ### v1.2.7 - Deleted user's data anonymization. ### v1.2.5 - Getting rid of deprecated methods and classes. - Code refactoring. ### v1.2.4 - Update README. ### v1.2.3 - Fix the token sent in the email. ### v1.2.2 - Update README. ### v1.2.1 - Gitlab CI/CD fixes. - Update dependencies in composer.json. ### No tags - Module init. ### Thank you for your interest in our products!