A simple module to disable customer login in Magento 2 Create following Directory Structure: mkdir app/code/VoolaTech/CustomerBlock Download and extract Settup php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento cache:flush php bin/magento indexer:reindex Customer Grid Indexer not working https://github.com/vanquyet94/tutorial-magento2/blob/master/fix-bug/Customer%20Grid%20Indexer%20not%20working.md