# Login is not working

**URL:** <https://forum.mautic.org/t/login-is-not-working/20095>\
**Category:** General Discussion\
**Tags:** development\
**Created:** [July 6, 2021, 9:36pm UTC](https://forum.mautic.org/t/login-is-not-working/20095 "2021-07-06T21:36:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivekshekar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vivekshekar/32/1414_2.png) [@vivekshekar](https://forum.mautic.org/u/vivekshekar)\
**Post date:** [July 6, 2021, 9:36pm UTC](https://forum.mautic.org/t/login-is-not-working/20095/1 "2021-07-06T21:36:59Z")

</div>

I did clear cache from the below command

```auto
php app/console cache:clear

```

After that I cannot be able to login back to mautic.

I see the login page normally but when I enter username and password it is not working.

I see last error in my log as below,

```auto
mautic.CRITICAL: Uncaught PHP Exception JSMin_UnterminatedStringException: "JSMin: Unterminated String at byte 138349: '); // Insert your pixel ID here."

```

please help.

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [July 7, 2021, 11:15am UTC](https://forum.mautic.org/t/login-is-not-working/20095/2 "2021-07-07T11:15:45Z")

</div>

I am not skilled enough to interpret the log error but I am not sure its connected with your issue. Clearing the cache should not affect your login details.

Have your tried password recovery?  
Check in your database to see the user login name. U won’t be able to see your password but at least you can see what user names Mautic has listed.

---

<div class="post-metadata">

**Author:** ![vivekshekar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vivekshekar/32/1414_2.png) [@vivekshekar](https://forum.mautic.org/u/vivekshekar)\
**Post date:** [July 7, 2021, 11:48am UTC](https://forum.mautic.org/t/login-is-not-working/20095/3 "2021-07-07T11:48:07Z")

</div>

Hi robm,

Thank you for your help.

I got this fixed. I did fix folder permission and clear cache. Everything was back to normal.  
Thank you.
