# Can Not Login Admin Access After Enable "Do not allow user to log in to Control Panel"

**URL:** <https://forum.hestiacp.com/t/can-not-login-admin-access-after-enable-do-not-allow-user-to-log-in-to-control-panel/5375>\
**Category:** Community Support\
**Created:** [January 19, 2022, 9:46am UTC](https://forum.hestiacp.com/t/can-not-login-admin-access-after-enable-do-not-allow-user-to-log-in-to-control-panel/5375 "2022-01-19T09:46:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmotna22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/c/e9c0ed/32.png) [@cmotna22](https://forum.hestiacp.com/u/cmotna22)\
**Post date:** [January 19, 2022, 9:46am UTC](https://forum.hestiacp.com/t/can-not-login-admin-access-after-enable-do-not-allow-user-to-log-in-to-control-panel/5375/1 "2022-01-19T09:46:45Z")

</div>

Hi Hestia community,

Can you please give me some solutions to handle my current issue.

I enable the option “Do not allow user to log in to Control Panel” by mistake then log out admin user.  
3 hrs later, I can’t login my admin account. It always shows “Invalid admin or password” notices while I don’t change anything.

I tried some CLI to reset the admin password but it still doesn’t let me log in to my Hestia.

Thank you in advance & Have a nice day !

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [January 19, 2022, 10:03am UTC](https://forum.hestiacp.com/t/can-not-login-admin-access-after-enable-do-not-allow-user-to-log-in-to-control-panel/5375/2 "2022-01-19T10:03:22Z")

</div>

So it works as intended…

Login via CLI:

Go to:  
/usr/local/hestia/data/users/admin

Then edit user.conf  
LOGIN\_DISABLED=‘no’

The username is to be vague as intended as we don’t want to give the user an idea the account exists or not.

---

<div class="post-metadata">

**Author:** ![cmotna22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/c/e9c0ed/32.png) [@cmotna22](https://forum.hestiacp.com/u/cmotna22)\
**Post date:** [January 19, 2022, 10:29am UTC](https://forum.hestiacp.com/t/can-not-login-admin-access-after-enable-do-not-allow-user-to-log-in-to-control-panel/5375/3 "2022-01-19T10:29:12Z")

</div>

![image](https://forum.hestiacp.com/uploads/default/original/2X/4/4a3f47db269344ed9b1ae190eedd9790c4825456.png)

Hi eris,  
I have just successfully solved my problem by following your instruction 😃

Thank you so much & Have a nice working day !

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [February 18, 2022, 10:29am UTC](https://forum.hestiacp.com/t/can-not-login-admin-access-after-enable-do-not-allow-user-to-log-in-to-control-panel/5375/4 "2022-02-18T10:29:29Z")

</div>

Closed on February 18, 2022, 10:29am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
