PHPackages                             magepsycho/magento2-disableregistration - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. magepsycho/magento2-disableregistration

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

magepsycho/magento2-disableregistration
=======================================

Magento 2 Disable Customer Registration

1.0.0(4y ago)2340[1 issues](https://github.com/MagePsycho/magento2-disable-customer-registration/issues)OSL-3.0PHP

Since Feb 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/MagePsycho/magento2-disable-customer-registration)[ Packagist](https://packagist.org/packages/magepsycho/magento2-disableregistration)[ Docs](https://www.magepsycho.com/magento2-disable-customer-registration.html)[ RSS](/packages/magepsycho-magento2-disableregistration/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![Magento 2 Disable Customer Registration](https://camo.githubusercontent.com/21d85452cbb9037cc0b473fb795e3f117158b344da13996fc3f294103b63db2b/68747470733a2f2f692e696d6775722e636f6d2f643851454852622e706e67)](https://camo.githubusercontent.com/21d85452cbb9037cc0b473fb795e3f117158b344da13996fc3f294103b63db2b/68747470733a2f2f692e696d6775722e636f6d2f643851454852622e706e67)

Magento 2 Disable Customer Registration
=======================================

[](#magento-2-disable-customer-registration)

[![Packagist Version](https://camo.githubusercontent.com/dfc088311881e9d5966c75186f91355d59e1ba3b1398512040064f6ed9800665/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f4d61676550737963686f2f6d6167656e746f322d64697361626c652d637573746f6d65722d726567697374726174696f6e3f6c6f676f3d7061636b616769737426736f72743d73656d766572266c6162656c3d7061636b6167697374267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/magepsycho/magento2-disableregistration)[![Packagist Downloads](https://camo.githubusercontent.com/df312ac5acff46506da7b92be9488e3fd44d79932401a24aa82b0c349a2b65b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61676570737963686f2f6d6167656e746f322d64697361626c65726567697374726174696f6e2e7376673f6c6f676f3d7061636b6167697374267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/magepsycho/magento2-disableregistration/stats)[![Supported Magento Versions](https://camo.githubusercontent.com/383fa0d82dfdc41be8815b1665beec1d0f96e7b1c5d65d1b3a792f2bc164b767/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e335f2537435f322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/383fa0d82dfdc41be8815b1665beec1d0f96e7b1c5d65d1b3a792f2bc164b767/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e335f2537435f322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666f722d7468652d6261646765)[![License](https://camo.githubusercontent.com/a8e59c52a61079bac6876857b971b3115f991aa15de6cb7a243876b23007bb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f636f6c6f723d253233323334267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/a8e59c52a61079bac6876857b971b3115f991aa15de6cb7a243876b23007bb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f636f6c6f723d253233323334267374796c653d666f722d7468652d6261646765)

Overview
--------

[](#overview)

[Magento 2 Disable Customer Registration](https://www.magepsycho.com/magento2-disable-customer-registration.html) extension allows the store owner to disable the customer registration as per store.

By default, customer registration functionality is available on the storefront.
There are cases when the owner wants to disable the registration, where reasons can be any one of the following:

- Only allow admin to create the customer accounts (B2B)
- Temporarily block the new customer from placing the orders
- Use custom registration form for B2B, marketplace users
- etc.

With this extension, you can completely turn off the registration functionality from the storefront (link to register, registration form, etc.)

Key Features
------------

[](#key-features)

- Enable/disable the registration as per store
- Configure custom message to be displayed on the login page
- Restrict direct access to registration page (`/customer/account/create`)

*If you need the complete restriction functionality for your store in different ways (disabling registration, requiring customer approval, restricting access to special customers while allowing guest access to certain pages), you can use [Magento 2 Store Restriction Pro](https://www.magepsycho.com/magento-2-store-restriction-pro.html) Extension*

Feature Highlights
------------------

[](#feature-highlights)

### Disable Customer Registration

[](#disable-customer-registration)

You can configure the settings to enable/disable the customer registration(account creation) option as per store.
Also, you can configure the custom message that will be displayed on the login page.

Once registration option is disabled, this extension will

- Remove "Create an Account" link from header
- Remove "Create an Account" button from the login page
- Display custom message on the login page
- Restrict direct access to registration page (`/customer/account/create`)

[![Magento 2 Disable Customer Registration - Admin Registration Setting](https://camo.githubusercontent.com/35021fe0ec3ea5e02a26a6c2051fed9f33ba251312ae7240759e360711e272ec/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f332f302f33302d6d6167656e746f322d64697361626c652d726567697374726174696f6e2d61646d696e2d726567697374726174696f6e2d64697361626c65642d73657474696e67732e706e67)](https://camo.githubusercontent.com/35021fe0ec3ea5e02a26a6c2051fed9f33ba251312ae7240759e360711e272ec/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f332f302f33302d6d6167656e746f322d64697361626c652d726567697374726174696f6e2d61646d696e2d726567697374726174696f6e2d64697361626c65642d73657474696e67732e706e67)

[![Magento 2 Disable Customer Registration - Customer Login Page](https://camo.githubusercontent.com/a635bd9b204f7bc3dc21c418ed37259fea240ba4a3464564d525cd9ada83f9fb/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f352f302f35302d6d6167656e746f322d64697361626c652d726567697374726174696f6e2d73746f726566726f6e742d64697361626c65642d636173652e6a7067)](https://camo.githubusercontent.com/a635bd9b204f7bc3dc21c418ed37259fea240ba4a3464564d525cd9ada83f9fb/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f352f302f35302d6d6167656e746f322d64697361626c652d726567697374726174696f6e2d73746f726566726f6e742d64697361626c65642d636173652e6a7067)

🛠️ Installation
---------------

[](#️-installation)

### 1 Using Composer (Preferred)

[](#1-using-composer-preferred)

```
composer require magepsycho/magento2-disableregistration

```

### 2 Using Modman

[](#2-using-modman)

```
modman init
modman clone git@github.com:MagePsycho/magento2-disable-customer-registration.git

```

### 3 Using Zip File

[](#3-using-zip-file)

- Download the [Extension Zip File](https://github.com/MagePsycho/magento2-disable-customer-registration/archive/master.zip)
- Extract &amp; upload the files to `/path/to/magento2/app/code/MagePsycho/DisableRegistration/`

After installation by either means, activate the extension with following steps

1. Enable the module

```
php bin/magento module:enable MagePsycho_DisableRegistration --clear-static-content
php bin/magento setup:upgrade

```

2. Flush the store cache

```
php bin/magento cache:flush

```

3. Deploy static content - *in Production mode only*

```
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy

```

4. Go to Admin &gt; CUSTOMERS &gt; Disable Registration &gt; Manage Settings

Live Demo:
----------

[](#live-demo)

- [Frontend Demo](http://m2default.mage-expo.com/)
- [Backend Demo](http://m2default.mage-expo.com/admin_m2demo/?module=disableregistration)

Changelog
---------

[](#changelog)

**Version 1.0.0 (2022-01-22)**

- Initial Release.

Authors
-------

[](#authors)

- Raj KB [![Twitter Follow](https://camo.githubusercontent.com/1264ebcaa4f5a0968a5dc17aae246f1ae578e0e75bb9660cf06d3131596ca1fe/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f72616a6b626e702e7376673f7374796c653d736f6369616c)](https://twitter.com/rajkbnp)

Contributors
------------

[](#contributors)

[![Contributors](https://camo.githubusercontent.com/44e01f1ff1647688512e62d3f4ab83e8718343f91702b5ab8ff63e7f3358e359/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d6d61676570737963686f2f6d6167656e746f322d64697361626c652d637573746f6d65722d726567697374726174696f6e)](https://camo.githubusercontent.com/44e01f1ff1647688512e62d3f4ab83e8718343f91702b5ab8ff63e7f3358e359/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d6d61676570737963686f2f6d6167656e746f322d64697361626c652d637573746f6d65722d726567697374726174696f6e)

To Contribute
-------------

[](#to-contribute)

Any contribution to the development of `Magento 2 Disable Customer Registration` is highly welcome.
The best possibility to provide any code is to open a [pull request on GitHub](https://github.com/MagePsycho/magento2-disable-customer-registration/pulls).

Need Support?
-------------

[](#need-support)

If you encounter any problems or bugs, please create an issue on [GitHub](https://github.com/MagePsycho/magento2-disable-customer-registration/issues).

Please [visit our store](https://www.magepsycho.com/extensions/magento-2.html) for more FREE / paid extensions OR [contact us](https://magepsycho.com/contact) for customization / development services.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1536d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47c847a6fe8bcd713aace9722ded18e2be56ffffde75e1a876957128714563e5?d=identicon)[MagePsycho](/maintainers/MagePsycho)

---

Top Contributors

[![MagePsycho](https://avatars.githubusercontent.com/u/1205071?v=4)](https://github.com/MagePsycho "MagePsycho (1 commits)")

---

Tags

b2bb2ccustomer-accountdisable-registrationmagentomagento2magento2-extensionmagento2-pluginrestrictionmagentoextensionmoduleregistrationb2baccountdisablemagento2 modulemagento 2 modulemagento 2 extensionmagento2 extensionmarketplacecustomerdisable registration

### Embed Badge

![Health badge](/badges/magepsycho-magento2-disableregistration/health.svg)

```
[![Health](https://phpackages.com/badges/magepsycho-magento2-disableregistration/health.svg)](https://phpackages.com/packages/magepsycho-magento2-disableregistration)
```

###  Alternatives

[olegkoval/magento2-regenerate-url-rewrites

Add into Magento 2 a CLI feature which allow to regenerate a Url Rewrites of products and categories

4423.7M2](/packages/olegkoval-magento2-regenerate-url-rewrites)[werfu/magento2-url-key-mask

Enable Product and Category URL\_key generation using masks

135.4k](/packages/werfu-magento2-url-key-mask)[magepsycho/magento2-custom-shipping

Magento 2 Custom Shipping

697.5k](/packages/magepsycho-magento2-custom-shipping)[magepsycho/magento2-storepricing

Magento 2 Store View Pricing

2520.9k](/packages/magepsycho-magento2-storepricing)[magepsycho/magento2-discountlimit

Magento 2 Discount Amount Limiter

1111.6k](/packages/magepsycho-magento2-discountlimit)[magepsycho/magento2-seosuite

Magento 2 FREE SEO Suite

106.3k](/packages/magepsycho-magento2-seosuite)

PHPackages © 2026

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