# Login problems: username and password are not recognized

**URL:** <https://discourse.getcockpit.com/t/login-problems-username-and-password-are-not-recognized/3097>\
**Category:** Support\
**Created:** [December 3, 2024, 4:10pm UTC](https://discourse.getcockpit.com/t/login-problems-username-and-password-are-not-recognized/3097 "2024-12-03T16:10:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Sebastian](https://discourse.getcockpit.com/u/Sebastian)\
**Post date:** [December 3, 2024, 4:10pm UTC](https://discourse.getcockpit.com/t/login-problems-username-and-password-are-not-recognized/3097/1 "2024-12-03T16:10:27Z")

</div>

I can’t log in anymore. I configured mongoDb after installing cockpit and configuring username and password. Is it possible that by configuring mongo db, the login credentials are no longer available?

How could I recover them? If I reinstall cockpit, would I lose all the collections that I had inserted in the meantime?

Thanks to anyone who can help me.

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [December 7, 2024, 12:59pm UTC](https://discourse.getcockpit.com/t/login-problems-username-and-password-are-not-recognized/3097/2 "2024-12-07T12:59:46Z")

</div>

What do you mean by you’ve configured MongoDB AFTER installing Cockpit?

---

<div class="post-metadata">

**Author:** ![Sebastian](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Sebastian](https://discourse.getcockpit.com/u/Sebastian)\
**Post date:** [December 10, 2024, 9:56am UTC](https://discourse.getcockpit.com/t/login-problems-username-and-password-are-not-recognized/3097/3 "2024-12-10T09:56:47Z")

</div>

Sorry for not answering you.

I had to reinstall with mongoDB settings and everything started again.
