craftcms/craft

CP Trigger Path Returns 404

simeon-smith opened this issue · 1 comments

Description

When using a custom cpTrigger path and having the CMS in headless mode the cpTrigger path returns a 404. It does not redirect to /login or /dashboard like it did previously.

Steps to reproduce

  1. Setup the CMS with a custom cpTrigger path.
  2. Put the CMS in headless mode.
  3. Go to the cpTrigger path.
  4. It displays a JSON 404 response.

Additional info

  • Craft version: 3.5.11.1
  • PHP version: 7.2
  • Database driver & version: MySQL 5.7

Wrong repo.