Skip to content

MaxMage/forcelogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Force Login Magento® 2

Magento® 2 module force login customers

Installation

  1. Go to Magento® 2 root directory

  2. Enter following commands to install module:

    composer require maxmage/forcelogin
    

    Wait while dependencies are updated.

  3. Enter following commands to enable module:

    php bin/magento module:enable MaxMage_ForceLogin
    php bin/magento setup:upgrade
    php bin/magento cache:clean
    

Configuration

  1. Enable the Force Login module in Magento® Admin under Stores > Configuration > Customers > Force Login.

About

The extension allows redirecting customers to the login page if they not logged in.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages