# Cannot reset password - The CSRF token is invalid. Please try to resubmit the form.

**URL:** <https://forum.mautic.org/t/cannot-reset-password-the-csrf-token-is-invalid-please-try-to-resubmit-the-form/9073>\
**Category:** Product Support\
**Created:** [July 27, 2017, 12:58am UTC](https://forum.mautic.org/t/cannot-reset-password-the-csrf-token-is-invalid-please-try-to-resubmit-the-form/9073 "2017-07-27T00:58:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwldub](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jwldub](https://forum.mautic.org/u/jwldub)\
**Post date:** [July 27, 2017, 12:58am UTC](https://forum.mautic.org/t/cannot-reset-password-the-csrf-token-is-invalid-please-try-to-resubmit-the-form/9073/1 "2017-07-27T00:58:54Z")

</div>

Please help! I am unable to reset my password. I click “Forgot password” and input my email. Then I get this message:  
  
  
  
The CSRF token is invalid. Please try to resubmit the form.

---

<div class="post-metadata">

**Author:** ![jwldub](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jwldub](https://forum.mautic.org/u/jwldub)\
**Post date:** [July 27, 2017, 12:58am UTC](https://forum.mautic.org/t/cannot-reset-password-the-csrf-token-is-invalid-please-try-to-resubmit-the-form/9073/2 "2017-07-27T00:58:54Z")

</div>

Please help! I am unable to reset my password. I click “Forgot password” and input my email. Then I get this message:

The CSRF token is invalid. Please try to resubmit the form.

---

<div class="post-metadata">

**Author:** ![jwldub](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jwldub](https://forum.mautic.org/u/jwldub)\
**Post date:** [July 31, 2017, 5:04pm UTC](https://forum.mautic.org/t/cannot-reset-password-the-csrf-token-is-invalid-please-try-to-resubmit-the-form/9073/3 "2017-07-31T17:04:14Z")

</div>

Please help!

---

<div class="post-metadata">

**Author:** ![acremonezi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/acremonezi/32/1681_2.png) [@acremonezi](https://forum.mautic.org/u/acremonezi)\
**Post date:** [April 29, 2020, 6:03pm UTC](https://forum.mautic.org/t/cannot-reset-password-the-csrf-token-is-invalid-please-try-to-resubmit-the-form/9073/4 "2020-04-29T18:03:38Z")

</div>

Hello!  
Please have a look at your files and folders permissions.  
I have this exactly problem in the past and I solve runing the following command at the webserver directory:

```auto
chown XXXXXX:XXXXXX . -R
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

```

PS: Please change the XXXXXX acording to your setup.  
Best regards,
