# Node red 3 login

**URL:** <https://discourse.nodered.org/t/node-red-3-login/79794>\
**Category:** General\
**Created:** [13 July 2023 14:26 UTC](https://discourse.nodered.org/t/node-red-3-login/79794 "2023-07-13T14:26:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nilpferd](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@Nilpferd](https://discourse.nodered.org/u/Nilpferd)\
**Post date:** [13 July 2023 14:26 UTC](https://discourse.nodered.org/t/node-red-3-login/79794/1 "2023-07-13T14:26:02Z")

</div>

I forgot the login - how can I reset it.

regards Erwin

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [13 July 2023 14:45 UTC](https://discourse.nodered.org/t/node-red-3-login/79794/2 "2023-07-13T14:45:25Z")

</div>

Hi @Nilpferd

Assuming this is a regular local install of Node-RED, then you should have a settings.js file that includes your login details. The password will be hashed, so you'll need to generate a new password hash and update the file, then restart Node-RED to pickup the change.

Node-RED logs the full path to the settings file when it starts up. By default it is under a directory called `.node-red` in your user's home directory.

[https://nodered.org/docs/user-guide/runtime/securing-node-red#usernamepassword-based-authentication](https://nodered.org/docs/user-guide/runtime/securing-node-red#usernamepassword-based-authentication)

---

<div class="post-metadata">

**Author:** ![Nilpferd](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@Nilpferd](https://discourse.nodered.org/u/Nilpferd)\
**Post date:** [13 July 2023 15:59 UTC](https://discourse.nodered.org/t/node-red-3-login/79794/3 "2023-07-13T15:59:01Z")

</div>

Thanks, but in this case it will be quicker to reinstall NR.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [13 July 2023 16:11 UTC](https://discourse.nodered.org/t/node-red-3-login/79794/4 "2023-07-13T16:11:13Z")

</div>

Reinstalling node red will not do it.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [13 July 2023 16:35 UTC](https://discourse.nodered.org/t/node-red-3-login/79794/5 "2023-07-13T16:35:48Z")

</div>

> quicker to reinstall NR.

And then setup security again from scratch that involves more steps then just updating the password in your existing setup? I don't think that'll be quicker.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 September 2023 16:36 UTC](https://discourse.nodered.org/t/node-red-3-login/79794/6 "2023-09-11T16:36:26Z")

</div>

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