# adminAuth change path root

**URL:** <https://discourse.nodered.org/t/adminauth-change-path-root/8141>\
**Category:** General\
**Created:** [19 February 2019 10:41 UTC](https://discourse.nodered.org/t/adminauth-change-path-root/8141 "2019-02-19T10:41:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hathemi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hathemi/32/3792_2.png) [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Post date:** [19 February 2019 10:41 UTC](https://discourse.nodered.org/t/adminauth-change-path-root/8141/1 "2019-02-19T10:41:57Z")

</div>

i have set a user in setting.js

```auto
adminAuth: {
    type: "credentials",
    users: [/* list of users */],
    default: {
        permissions: "read"
    }
}

```

is it possible to change path when user login to a dashboard ???

---

<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:** [19 February 2019 11:00 UTC](https://discourse.nodered.org/t/adminauth-change-path-root/8141/2 "2019-02-19T11:00:34Z")

</div>

> [@hathemi](#):
>
> is it possible to change path when user login to a dashboard ???

When you say 'dashboard', I assume you mean the node-red editor? You can change the path you access the editor using the `httpAdminRoot` property in your settings file.

---

<div class="post-metadata">

**Author:** ![hathemi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hathemi/32/3792_2.png) [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Post date:** [19 February 2019 11:06 UTC](https://discourse.nodered.org/t/adminauth-change-path-root/8141/3 "2019-02-19T11:06:24Z")

</div>

i want to be access directly to [http://127.0.0.1:1880/ui/#!/0](http://127.0.0.1:1880/ui/#!/0)  
i have changed this line but it doesn't work  
httpAdminRoot: '/ui/#!/0 '

---

<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:** [19 February 2019 12:26 UTC](https://discourse.nodered.org/t/adminauth-change-path-root/8141/4 "2019-02-19T12:26:22Z")

</div>

Hi @hathemi

As I said in my reply, I was assuming you wanted to change the url you access the editor on - as you had mentioned `adminAuth` which is used to secure the editor.

It is now clear you did mean you wanted to change the URL used to access the Node-RED Dashboard page.

In your settings file you should find a setting called `ui` - that can be used to set the path the Node-RED Dashboard is served on. If you want to change that to `/` then you _must_ also set `httpAdminRoot` to move the node-red editor away from the root path.

For example:

```
 httpAdminRoot: '/admin',
 ui: { path: "/" }

```

This will move the editor to `/admin` and the dashboard on `/`.
