Closed ameotoko closed 4 years ago
C4.9.3
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Missing form field "_target_path". You probably need to adjust your custom login template. at vendor/contao/core-bundle/src/Security/Authentication/AuthenticationSuccessHandler.php:180 at Contao\CoreBundle\Security\Authentication\AuthenticationSuccessHandler->decodeTargetPath(object(Request)) (vendor/contao/core-bundle/src/Security/Authentication/AuthenticationSuccessHandler.php:154) at Contao\CoreBundle\Security\Authentication\AuthenticationSuccessHandler->determineTargetUrl(object(Request)) (vendor/contao/core-bundle/src/Security/Authentication/AuthenticationSuccessHandler.php:121) at Contao\CoreBundle\Security\Authentication\AuthenticationSuccessHandler->onAuthenticationSuccess(object(Request), object(UsernamePasswordToken)) (vendor/terminal42/contao-autoregistration/src/EventListener/RegistrationListener.php:189) at Terminal42\AutoRegistrationBundle\EventListener\RegistrationListener->loginUser('email@example.com') (vendor/terminal42/contao-autoregistration/src/EventListener/RegistrationListener.php:126) at Terminal42\AutoRegistrationBundle\EventListener\RegistrationListener->onCreateNewUser(21, array('email' => 'email@example.com', 'firstname' => 'Firstname', 'lastname' => 'Lastname', 'password' => '$argon2id$v=19$m=65536,t=4,p=1$BZ/0lovCuYx7mDCBhg+64g$44pidL3zxBJWIMldzv5+nfDmIWyaGXo11259u1AZpCw', 'tstamp' => 1590330845, 'login' => '1', 'dateAdded' => 1590330845, 'groups' => 'a:1:{i:0;s:1:"5";}', 'disable' => 1, 'id' => '21', 'username' => 'email@example.com'), object(ModuleRegistration)) (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleRegistration.php:432) at Contao\ModuleRegistration->createNewUser(array('email' => 'email@example.com', 'firstname' => 'Firstname', 'lastname' => 'Lastname', 'password' => '$argon2id$v=19$m=65536,t=4,p=1$BZ/0lovCuYx7mDCBhg+64g$44pidL3zxBJWIMldzv5+nfDmIWyaGXo11259u1AZpCw', 'tstamp' => 1590330845, 'login' => '1', 'dateAdded' => 1590330845, 'groups' => 'a:1:{i:0;s:1:"5";}', 'disable' => 1, 'id' => '21', 'username' => 'email@example.com')) (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleRegistration.php:331) at Contao\ModuleRegistration->compile() (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:209) at Contao\Module->generate() (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleRegistration.php:56) at Contao\ModuleRegistration->generate() (vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:77) at Contao\ContentModule->generate() (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:570) at Contao\Controller::getContentElement(object(ContentModel), 'main') (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:192) at Contao\ModuleArticle->compile() (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:209) at Contao\Module->generate() (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:74) at Contao\ModuleArticle->generate(false) (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:510) at Contao\Controller::getArticle(object(ArticleModel), true, false, 'main') (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:372) at Contao\Controller::getFrontendModule('0', 'main') (vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:168) at Contao\PageRegular->prepare(object(PageModel)) (vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:48) at Contao\PageRegular->getResponse(object(PageModel), true) (vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:339) at Contao\FrontendIndex->renderPage(object(PageModel)) (vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/index.php:31)
C4.9.3