# How do add new user login web node-red

**URL:** <https://discourse.nodered.org/t/how-do-add-new-user-login-web-node-red/86260>\
**Category:** General\
**Created:** [8 March 2024 03:51 UTC](https://discourse.nodered.org/t/how-do-add-new-user-login-web-node-red/86260 "2024-03-08T03:51:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanhaiit90](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vanhaiit90/32/89066_2.png) [@vanhaiit90](https://discourse.nodered.org/u/vanhaiit90)\
**Post date:** [8 March 2024 03:51 UTC](https://discourse.nodered.org/t/how-do-add-new-user-login-web-node-red/86260/1 "2024-03-08T03:51:59Z")

</div>

How do I create a user different from the admin user and change the password for the admin. Help me. I have configured with the commandline:` **node-red admin hash-pw** `and add text password hash in the setting.js with user **dev** , restart service node-red

> adminAuth: {  
> type: "credentials",  
> users: [{  
> username: "admin",  
> password: "$2b$08$aWx1PX64XKyvfUg8.jQwJuXDGbxlsZ.u7H9qcXgJ4eCoST/MbMNr6",  
> permissions: "\*"  
> },  
> {  
> username: "guest",  
> password: "$2b$08$3o2evV.5aRpZAm4vpvjZWOnoA7OGKlXtb3JnDvHU0ETpZ4KYLSoqe",  
> permissions: "read"  
> },  
> {  
> username: "dev",  
> password: "$2b$08$b63NX8zYZJgY.K9R7Lieh.nybRH0/yUty90IWe9Nw1CmA84RlbCVy",  
> permissions: "read"  
> }
> 
> ```
> ]
> },
> 
> ```

But is is seem error I cannot login page web node-red

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [8 March 2024 10:26 UTC](https://discourse.nodered.org/t/how-do-add-new-user-login-web-node-red/86260/2 "2024-03-08T10:26:37Z")

</div>

1. what version of NR and node.js are you running (see NR startup log for this info)
2. are you using Docker, or Home Assistant?
3. what error are you seeing?
4. was this ever working and only failed after a change?
5. are there any error messages in the startup log?

---

<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:** [6 June 2024 10:27 UTC](https://discourse.nodered.org/t/how-do-add-new-user-login-web-node-red/86260/3 "2024-06-06T10:27:21Z")

</div>

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