Hall,
nach einem Update von 5.2.21 auf 5.2.22 erhalten wir beim Login im Backend immer folgende Meldung:
[2017-05-02 12:45:51] core.ERROR: exception 'Shopware\Components\CSRFTokenValidationException' with message 'The provided CSRF-Token is invalid. If you're sure that the request to path "/backend/Login?file=app&no-cache=1493721950" should be valid, the called controller action needs to be whitelisted using the CSRFWhitelistAware interface.' in /home/relaunchoy/www/engine/Shopware/Components/CSRFTokenValidator.php:110 Stack trace: #0 [internal function]: Shopware\Components\CSRFTokenValidator->checkBackendTokenValidation(Object(Enlight_Controller_ActionEventArgs)) #1 /home/relaunchoy/www/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs)) #2 /home/relaunchoy/www/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #3 /home/relaunchoy/www/engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs)) #4 /home/relaunchoy/www/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('indexAction') #5 /home/relaunchoy/www/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #6 /home/relaunchoy/www/engine/Shopware/Kernel.php(182): Enlight_Controller_Front->dispatch() #7 /home/relaunchoy/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /home/relaunchoy/www/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #9 /home/relaunchoy/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #10 /home/relaunchoy/www/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #11 /home/relaunchoy/www/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #12 {main} [] {"uid":"668b698"}
Auch die ergänzung in der config.php bringt nicht die gewünschte lösung.
‘csrfProtection’ => [
‘frontend’ => false,
‘backend’ => false
],
führt dazu, das die Meldung im Backend nicht kommt, man jedoch nach einem Klick auf Login immer wieder auf das Login zurück geworfen wird.
Cache wurde mehrfach geleert.
Was kann man hier tun?
Grüße