New Tool Radar

Local AI

How to Control Who Can Sign Up for Open WebUI

Turn off open sign-ups after the admin account exists, or set new accounts to pending so an admin must approve them first.

Schematic diagram with three steps: create the admin account, turn off new sign-ups or set new accounts to pending, and test that a stranger cannot sign up.

An Open WebUI instance with open sign-ups is an open door: anyone who finds the URL can create an account and use your hardware. The fix takes a minute, and it belongs right after the admin account is created — not later, not when you notice a stranger’s account.

Related guide: How to Use Open WebUI with Ollama for Local Chat

Close sign-ups, or make them pending

There are two ways to control this, and they work together. The first is the environment variable ENABLE_SIGNUP: set it to false in your Compose file or environment and restart, and the sign-up form stops creating accounts. The guides say to flip it off after everyone who should have an account has one. The second is the default role: DEFAULT_USER_ROLE=pending means every new registration goes into a holding state where the admin must manually approve them before they can do anything — the key setting for controlled access, according to the multi-user guide. The admin panel also has the same switch under Settings, General: turn off Enable New Sign Ups there if the environment change does not take effect, because settings saved in the database take priority over environment variables after the first start.

Test the lock

Open the sign-up page in a private browser window. With sign-ups off, there should be no way to create an account. With sign-ups on and the role pending, create a test account and confirm it cannot chat until you approve it in the Admin Panel — then delete the test account. If a test account can chat immediately, the pending role is not applied: check DEFAULT_USER_ROLE and the admin panel setting.

Expected result. We checked the linked Open WebUI guides for ENABLE_SIGNUP, DEFAULT_USER_ROLE=pending, and the admin panel switch. We did not run this software ourselves for this guide, so no output here is a recorded result; steps marked UNTESTED were checked against the sources below, not run.

Limits

Environment variables are mostly read only on first start, then stored in the database — changing the variable later may do nothing until you change the setting in the admin panel too. Do not disable authentication (WEBUI_AUTH=false) on a shared server. We did not run Open WebUI, so the settings paths are from the guides, marked UNTESTED on this machine.

Sources

Checked 2026-11-28.

See all