trellis / module-customer-force-login
Force the customer to login before use the site
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:magento2-module
pkg:composer/trellis/module-customer-force-login
Requires
- php: ~7.3.0||~7.4.0
README
Brought to you and maintained by Trellis Commerce - A full-service eCommerce agency based in Boston, MA.
Trellis Customer Force Login
This extension forces a customer to login before using the site. Admin configuration settings control which CMS pages and other URL patterns are available to customers to view without logging-in. Any customer that tries to access a restricted page without logging-in will be redirected to the login page.
Installation
Follow the instructions below to install this extension using Composer.
composer require trellis/module-customer-force-login bin/magento module:enable --clear-static-content Trellis_CustomerForceLogin bin/magento setup:upgrade bin/magento cache:flush
Configuration
See configuration at Stores > Configuration > Trellis > Force Login.
- Enable Force Login - yes/no.
- Allowed Action Names - Comma separated list of full action names to allow. Include the route, controller, and action. Example: "catalog_product_view"
- Allowed CMS Pages - multiselect of all CMS pages.