# Can't disable admin page

**URL:** <https://vaultwarden.discourse.group/t/cant-disable-admin-page/1647>\
**Category:** Help\
**Created:** [May 22, 2022, 5:44pm UTC](https://vaultwarden.discourse.group/t/cant-disable-admin-page/1647 "2022-05-22T17:44:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gritche2](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@gritche2](https://vaultwarden.discourse.group/u/gritche2)\
**Post date:** [May 22, 2022, 5:44pm UTC](https://vaultwarden.discourse.group/t/cant-disable-admin-page/1647/1 "2022-05-22T17:44:45Z")

</div>

Hello,

I’m using Vaultwarden on a Nas with docker image.  
I have used DISABLE\_ADMIN\_TOKEN=true but the admin page is still accessible.

When I look on the console of the docker env are :

```auto
HOSTNAME=vaultwarden-server1                                                                                                                                               
DISABLE_ADMIN_TOKEN=true                                                                                                                                                   
ROCKET_WORKERS=10                                                                                                                                                          
PWD=/                                                                                                                                                                      
INVITATIONS_ALLOWED=false                                                                                                                                                  
TZ=Europe/Paris                                                                                                                                                            
HOME=/root                                                                                                                                                                 
ROCKET_PORT=80                                                                                                                                                             
ROCKET_ENV=staging                                                                                                                                                         
SIGNUPS_ALLOWED=false                                                                                                                                                      
TERM=xterm                                                                                                                                                                 
SHLVL=1                                                                                                                                                                    
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                                                          
_=/usr/bin/env 

```

I don’t understand why it do that.  
I have several time delete / run / add Disable option : not working

I suppose answer if easy but I don’t founf anything

Thanks in advance

Regards

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [May 22, 2022, 5:59pm UTC](https://vaultwarden.discourse.group/t/cant-disable-admin-page/1647/2 "2022-05-22T17:59:14Z")

</div>

Well, disable admin token means disable the need of the token.  
Set that value to false will make a token to be needed and would case you to need to input a token before you are allowed to enter the admin interface.

---

<div class="post-metadata">

**Author:** ![gritche2](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@gritche2](https://vaultwarden.discourse.group/u/gritche2)\
**Post date:** [May 22, 2022, 6:40pm UTC](https://vaultwarden.discourse.group/t/cant-disable-admin-page/1647/3 "2022-05-22T18:40:39Z")

</div>

Hello,

thanks for this very quick answer.  
The strange thing is that even with this option password was needed.  
I remove it and set strong pass in admin console.

Does exists possibility to avoid access to it ?

thanks

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [May 22, 2022, 7:34pm UTC](https://vaultwarden.discourse.group/t/cant-disable-admin-page/1647/4 "2022-05-22T19:34:03Z")

</div>

I think you have a password configured via the reverse proxy.  
The admin interface can only be accessed by setting the ADMIN\_TOKEN with a random string, or by setting the previous setting you mentioned to true.

Having no ADMIN\_TOKEN set means it is disabled and not accessable.

---

<div class="post-metadata">

**Author:** ![gritche2](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@gritche2](https://vaultwarden.discourse.group/u/gritche2)\
**Post date:** [May 22, 2022, 7:54pm UTC](https://vaultwarden.discourse.group/t/cant-disable-admin-page/1647/5 "2022-05-22T19:54:36Z")

</div>

Thanks

sorry for this question so …  
It works fine now.

Regards
