> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-force-login-extension/frontend-display-of-force-login.md).

# Frontend display of Force Login

The user will be redirected to the custom login page with a force login alert message for the category pages when using the force login extension.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FzCs2J3PRwKT63cBZtabS%2Fimage.png?alt=media&amp;token=f7035ce9-672e-4a6f-8c42-3f1a33fa2a8d" alt=""><figcaption></figcaption></figure>

The user will be redirected to the custom login page for the CMS pages when using the force login extension.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FqZ5Xq16dVuEODBJitcJJ%2Fimage.png?alt=media&amp;token=4d504c1d-f3cc-46a2-a822-cb9f5ac08fa3" alt=""><figcaption></figcaption></figure>

**If anything goes wrong, please contact us at** [**support@magecomp.com**](mailto:support@magecomp.com)
