Skip to content
Discussion options

You must be logged in to vote

To close registration and prevent new users from signing up in RAGFlow, set the environment variable REGISTER_ENABLED=0 (for example, in your docker/.env file). This disables new user registration in the interface—anyone trying to register will see a message that registration is closed. This works reliably in version 0.18.0 and newer; if you’re using version 0.17.2, upgrade to a newer version as there was a bug in older releases.

If you need more control, you can also hide or remove the "sign up" UI elements in the frontend code (search for "sign up" in the web folder and comment them out, then rebuild), or block the /v1/user/register API endpoint using a reverse proxy like Nginx.

When r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Magicbook1108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant