PHPackages                             wubinworks/module-disable-change-email - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. wubinworks/module-disable-change-email

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

wubinworks/module-disable-change-email
======================================

A simple Magento 2 extension that prevents customer from changing account email address. Works for both Frontend and WebAPI area.

1.1.0(1y ago)42.7k↑189.3%1OSL-3.0PHPPHP &gt;=7.3

Since Sep 13Pushed 1y ago2 watchersCompare

[ Source](https://github.com/wubinworks/disable-change-email)[ Packagist](https://packagist.org/packages/wubinworks/module-disable-change-email)[ RSS](/packages/wubinworks-module-disable-change-email/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

Disable Change Email Extension for Magento 2
============================================

[](#disable-change-email-extension-for-magento-2)

[![Wubinworks Disable Change Email](https://raw.githubusercontent.com/wubinworks/home/master/images/Wubinworks/DisableChangeEmail/disable-change-email.jpg "Wubinworks Disable Change Email")](https://www.wubinworks.com/disable-change-email.html)

Introduction
------------

[](#introduction)

A simple Magento 2 extension that prevents customer from changing account email address. Suitable for many business environments such as B2B. It is also useful when you have an integration that the account email is used as an identifier in the other systems.

Features
--------

[](#features)

- Disables/Enables customer's ability to change account email
- Prevents a hack that can resulting in sending "Email Change Notification" email even the account email is not changed and unintentional logout
- Works for both Frontend and WebAPI area

Compatibility
-------------

[](#compatibility)

This extension does not use `preference` and `template override`.

\*Note: this extension disables the `change email checkbox` in frontend customer account editing page. If you are looking for a better UI experience such as removing the `change email checkbox` or the email input box, you may need to do a theme customization for `Magento_Customer::form/edit.phtml` template.

Requirements
------------

[](#requirements)

**Magento 2.4**

Installation
------------

[](#installation)

**`composer require wubinworks/module-disable-change-email`**

Configuration
-------------

[](#configuration)

Admin Panel `Stores > Configuration > Customers > Customer Configuration > Account Information Options`.

- `Disable Change Email`: Yes/No

For Developers
--------------

[](#for-developers)

If you want to change customer email programmatically in `Customer User Context`(e.g., in your frontend controller), use `\Magento\Customer\Model\Customer` instead of `\Magento\Customer\Api\CustomerRepositoryInterface`. See [example](https://github.com/wubinworks/magento2-disable-customer/blob/d8e473f79c4afe54007b3370d7012cde9882e7cb/Helper/Customer.php#L225).

♥
-

[](#)

If you like this extension please star this repository.

You may also like: [Disable Customer for Magento 2](https://github.com/wubinworks/magento2-disable-customer)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Total

2

Last Release

668d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7de965a6287fb784969afeb4b173521d3cb59c6b873b7248263abb9fc098eddd?d=identicon)[wubinworks](/maintainers/wubinworks)

---

Top Contributors

[![wubinworks](https://avatars.githubusercontent.com/u/127310257?v=4)](https://github.com/wubinworks "wubinworks (3 commits)")

---

Tags

accountchange-emailcustomerdisable-change-emailmagento2magento2-extensionmagento2-extension-freemagento2-webapimagento 2 extensionemail-notificationwebapidisable change email

### Embed Badge

![Health badge](/badges/wubinworks-module-disable-change-email/health.svg)

```
[![Health](https://phpackages.com/badges/wubinworks-module-disable-change-email/health.svg)](https://phpackages.com/packages/wubinworks-module-disable-change-email)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1142.0M17](/packages/mollie-magento2)[bitexpert/magento2-force-customer-login

The Force Login module for Magento2 redirects a storefront visitor to the Magento2 Frontend login page, if the visitor is not logged in. It is possible to configure the whitelisted urls to add custom definitions.

171429.5k](/packages/bitexpert-magento2-force-customer-login)[hryvinskyi/magento2-invisible-captcha

Magento 2 multi-provider invisible captcha &amp; bot protection (Google reCAPTCHA v2/v3/Enterprise and Cloudflare Turnstile) for form-level and route-level protection

299.6k](/packages/hryvinskyi-magento2-invisible-captcha)[buckaroo/magento2

Buckaroo Magento 2 extension

32426.0k8](/packages/buckaroo-magento2)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1015.1k29](/packages/loki-magento2-components)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19136.4k](/packages/imi-magento2-friendly-captcha)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
