What happened?
Description
When using a custom cpTrigger, the login page is loading, but when submitting the login form it still posts to /admin/login as it's route is defined in the build file (resources/build/assets/LoginController-BCiywUg9.js)
Steps to reproduce
- setup craft
- set custom cpTrigger in general.php
- try to login
Expected behavior
login form should post to {cpTrigger}/login instead of admin/login
Craft CMS version
6.0.0-alpha.7
PHP version
8.5.7
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
When using a custom cpTrigger, the login page is loading, but when submitting the login form it still posts to /admin/login as it's route is defined in the build file (resources/build/assets/LoginController-BCiywUg9.js)
Steps to reproduce
Expected behavior
login form should post to {cpTrigger}/login instead of admin/login
Craft CMS version
6.0.0-alpha.7
PHP version
8.5.7
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions