# Neuinstallation auf 5.2.1. -&gt; X-CSRF-Token is invalid.

**URL:** <https://forum.shopware.com/t/neuinstallation-auf-5-2-1-gt-x-csrf-token-is-invalid/38263>\
**Category:** Allgemein\
**Created:** [15. Juli 2016 um 07:36 UTC](https://forum.shopware.com/t/neuinstallation-auf-5-2-1-gt-x-csrf-token-is-invalid/38263 "2016-07-15T07:36:53Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Joscha\_Schultze](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@Joscha\_Schultze](https://forum.shopware.com/u/Joscha_Schultze)\
**Post date:** [17. Juli 2016 um 18:18 UTC](https://forum.shopware.com/t/neuinstallation-auf-5-2-1-gt-x-csrf-token-is-invalid/38263/8 "2016-07-17T18:18:15Z")

</div>

Wer gar nicht über das Problem hinweg kommt, der kann auch den CSRF-Schutz deaktivieren. Dazu muss man folgendes in die config.php eintragen:

‘csrfProtection’ =\> [  
&nbsp; &nbsp; ‘frontend’ =\> false,  
&nbsp; &nbsp; ‘backend’ =\> false  
],

---

_[View the full topic](https://forum.shopware.com/t/neuinstallation-auf-5-2-1-gt-x-csrf-token-is-invalid/38263)._
