# Password reset not working

**URL:** <https://forum.mautic.org/t/password-reset-not-working/1709>\
**Category:** Product Support\
**Created:** [April 1, 2015, 8:17am UTC](https://forum.mautic.org/t/password-reset-not-working/1709 "2015-04-01T08:17:02Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![menolo](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@menolo](https://forum.mautic.org/u/menolo)\
**Post date:** [April 1, 2015, 8:17am UTC](https://forum.mautic.org/t/password-reset-not-working/1709/1 "2015-04-01T08:17:02Z")

</div>

Hey guys,  
  
  
  
I’m trying to log in to my mautic account on [http://mautic.soetkees.nl/s/login](http://mautic.soetkees.nl/s/login)  
  
  
  
As you can see there’s something not right with the language strings. I haven’t got a clue how this happens.  
  
  
  
The problem is that when I request a password reset the email body just says “mautic.user.user.passwordreset.body”, just another language string. No reset options.  
  
  
  
Is there another option to recover my installation? Or reinstall Mautic without losing my data?

---

<div class="post-metadata">

**Author:** ![menolo](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@menolo](https://forum.mautic.org/u/menolo)\
**Post date:** [April 1, 2015, 8:17am UTC](https://forum.mautic.org/t/password-reset-not-working/1709/2 "2015-04-01T08:17:02Z")

</div>

Hey guys,

I’m trying to log in to my mautic account on [http://mautic.soetkees.nl/s/login](http://mautic.soetkees.nl/s/login)

As you can see there’s something not right with the language strings. I haven’t got a clue how this happens.

The problem is that when I request a password reset the email body just says “mautic.user.user.passwordreset.body”, just another language string. No reset options.

Is there another option to recover my installation? Or reinstall Mautic without losing my data?

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [April 1, 2015, 12:23pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/3 "2015-04-01T12:23:27Z")

</div>

Hi Menolo

Wow that is strange. Did you try to upgrade mautic at some point?

It definitely looks like there’s some code missing - mostly language files, but if language files are missing its likely other stuff may be as well. I would try to reupload mautic to your server and overwrite all the existing files.

You can do this without damaging your data or your database, and it shouldn’t even touch your configuration file. You may need to clear cache afterwords though. To do that you’ll want to delete the files under app/cache.

---

<div class="post-metadata">

**Author:** ![menolo](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@menolo](https://forum.mautic.org/u/menolo)\
**Post date:** [April 1, 2015, 1:59pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/4 "2015-04-01T13:59:34Z")

</div>

Thanks Chad. Uploading all files at the moment. You say the config is not going to be touched, what config file are we talking about? It seems that app/config/config.php exists in the clean mautic zip as well.

Im skipping the config folder for now just to be sure. Everything else is uploading. Let’s see if this works 🙂

---

<div class="post-metadata">

**Author:** ![menolo](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@menolo](https://forum.mautic.org/u/menolo)\
**Post date:** [April 1, 2015, 2:01pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/5 "2015-04-01T14:01:27Z")

</div>

Weird. I’ve overwritten all files, cleaned out the cache folder but the issue is still present.

Would reinstalling mautic and afterwards restoring the current database help?

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [April 1, 2015, 2:02pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/6 "2015-04-01T14:02:42Z")

</div>

Hi Menolo

The main config for mautic is stored in local.php which shouldn’t be in the distribution.

Maybe try changing the language? Try setting it to spanish and then logging out / back in, see if that works, and if so try back to English? I’ll also ask around and see if anyone else has any ideas about this.

---

<div class="post-metadata">

**Author:** ![menolo](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@menolo](https://forum.mautic.org/u/menolo)\
**Post date:** [April 1, 2015, 2:08pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/7 "2015-04-01T14:08:47Z")

</div>

Thanks Chad,

I’ve overwritten the config files as well. No such luck. I’ve edited local.php and set the locale to ‘es’. I take it that’s the language setting.

The name is Wim btw 🙂 Can’t seem to use my name instead of my username on this forum.

---

<div class="post-metadata">

**Author:** ![menolo](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@menolo](https://forum.mautic.org/u/menolo)\
**Post date:** [April 1, 2015, 2:12pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/8 "2015-04-01T14:12:06Z")

</div>

The other thing, and I don’t know if it’s related, I can’t seem to log on. I’m pretty sure the password is correct. I could try to change it in the database. What encryption should I use when setting a new password in the database?

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [April 1, 2015, 2:17pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/9 "2015-04-01T14:17:20Z")

</div>

Hmm try this:

[https://gist.github.com/drmmr763/78b501eb4e385e8b087a](https://gist.github.com/drmmr763/78b501eb4e385e8b087a)

Credentials: madmin / madmin

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [April 1, 2015, 2:17pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/10 "2015-04-01T14:17:46Z")

</div>

Or you can just copy the password string.

---

<div class="post-metadata">

**Author:** ![menolo](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@menolo](https://forum.mautic.org/u/menolo)\
**Post date:** [April 1, 2015, 2:20pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/11 "2015-04-01T14:20:35Z")

</div>

used bcrypt to generate a new password. I can login again.

The rest of the Mautic environment works fine. It seems to be only the login form.

---

<div class="post-metadata">

**Author:** ![menolo](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@menolo](https://forum.mautic.org/u/menolo)\
**Post date:** [April 1, 2015, 2:21pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/12 "2015-04-01T14:21:25Z")

</div>

[quote=951:chad.windnagle]Hmm try this:

[https://gist.github.com/drmmr763/78b501eb4e385e8b087a](https://gist.github.com/drmmr763/78b501eb4e385e8b087a)

Credentials: madmin / madmin[/quote]

Thanks Chad, I’m in 🙂

---

<div class="post-metadata">

**Author:** ![spignataro](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@spignataro](https://forum.mautic.org/u/spignataro)\
**Post date:** [March 15, 2016, 2:30am UTC](https://forum.mautic.org/t/password-reset-not-working/1709/13 "2016-03-15T02:30:14Z")

</div>

Please clear your cookies and this will resolve your problem.

---

<div class="post-metadata">

**Author:** ![berrybeersen](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@berrybeersen](https://forum.mautic.org/u/berrybeersen)\
**Post date:** [October 20, 2016, 9:41am UTC](https://forum.mautic.org/t/password-reset-not-working/1709/14 "2016-10-20T09:41:59Z")

</div>

[quote=951:@chad.windnagle]Hmm try this:

[https://gist.github.com/drmmr763/78b501eb4e385e8b087a](https://gist.github.com/drmmr763/78b501eb4e385e8b087a)

Credentials: madmin / madmin[/quote]  
I have the same problem. I can not login. What to do with this code?  
Thanks

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 11:00pm UTC](https://forum.mautic.org/t/password-reset-not-working/1709/15 "2020-02-02T23:00:35Z")

</div>


