danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, OpenAI, Assistants API, Azure, Groq, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
17.21k stars 2.87k forks source link

How to close the registration function? #341

Closed voctot closed 1 year ago

voctot commented 1 year ago

Opening registration is not a wise move

fuegovic commented 1 year ago

I'm sorry, I am not certain of what you are asking. Do you mean that you would like to have the option to make registration unavailable after the creation of the admin account since it could be a security issue to have it open when deployey on the web?

danny-avila commented 1 year ago

I'm sorry, I am not certain of what you are asking. Do you mean that you would like to have the option to make registration unavailable after the creation of the admin account since it could be a security issue to have it open when deployey on the web?

I think this is what they're asking. I'm adding it to the task list since it's been requested a few times before.

voctot commented 1 year ago

I think this is what they're asking. I'm adding it to the task list since it's been requested a few times before.

Thank you~, I think you should understand what I mean, if the registration function is not controlled, it is the same as public.

danny-avila commented 1 year ago

This is being worked on in #346

danny-avila commented 1 year ago

With the latest update, you can now close registration by either omitting this env variable or setting it to false

# ALLOW_REGISTRATION=true
# ...or 
ALLOW_REGISTRATION=false

See the latest release here for more info, as there are many breaking changes with the update.

https://github.com/danny-avila/LibreChat/releases/tag/v0.5.0