# Disable admin page

**URL:** <https://vaultwarden.discourse.group/t/disable-admin-page/592>\
**Category:** Help\
**Created:** [February 12, 2021, 8:37pm UTC](https://vaultwarden.discourse.group/t/disable-admin-page/592 "2021-02-12T20:37:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrdeeks](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mrdeeks](https://vaultwarden.discourse.group/u/mrdeeks)\
**Post date:** [February 12, 2021, 8:37pm UTC](https://vaultwarden.discourse.group/t/disable-admin-page/592/1 "2021-02-12T20:37:53Z")

</div>

Hello, i am running Bitwarden\_RS on docker 20.10.3 and use the command line to pass variables. I tinkered around and enabled the admin page by using the ADMIN\_TOKEN first. Then I used the DISABLE\_ADMIN\_TOKEN. Fine…no token needed anymore.

The problem is that removing the tokens does not work for me. Whatever I do, I still can log into the Admin page.

Any suggestions are appreciated!

---

<div class="post-metadata">

**Author:** ![mrdeeks](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mrdeeks](https://vaultwarden.discourse.group/u/mrdeeks)\
**Post date:** [February 12, 2021, 9:13pm UTC](https://vaultwarden.discourse.group/t/disable-admin-page/592/2 "2021-02-12T21:13:21Z")

</div>

I noticed from another topic that its the _config.json_ in the _data_ folder inside the container seems to be the issue. I renamed that file and now the admin page does ask for a token.

---

<div class="post-metadata">

**Author:** ![mrdeeks](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mrdeeks](https://vaultwarden.discourse.group/u/mrdeeks)\
**Post date:** [February 12, 2021, 9:24pm UTC](https://vaultwarden.discourse.group/t/disable-admin-page/592/3 "2021-02-12T21:24:51Z")

</div>

In hindsight…no need to go into the container. The data folder is mapped to the working dir bw-data on my host. Silly me! 😃

Thumbs up for this useful post:

> [@How to set environement variables?](https://vaultwarden.discourse.group/t/how-to-set-environement-variables/193):
>
> Hello all! smiley Let me start off with that I’ve read all of the documentation over at the wiki on the Github repo. I just don’t get the documentation, as a newbie to docker the documentation lacks some more step-by step. I would like to run BitwardenRS behind Nginx, but before I do that I would like to have it up and running with just docker first. I have a working BitwardenRS docker running that is accessible however I just can’t manage to find out how to set environment variables. Am I …
