mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
feat: Disable Registration with social login (#813)
* Google, Github and Discord * update .env.example with ALLOW_SOCIAL_REGISTRATION * fix some conflict * refactor strategy * Update user_auth_system.md * Update user_auth_system.md
This commit is contained in:
parent
46ed5aaccd
commit
c40b95f424
8 changed files with 252 additions and 224 deletions
|
|
@ -203,6 +203,9 @@ ALLOW_REGISTRATION=true
|
|||
# Allow Social Registration
|
||||
ALLOW_SOCIAL_LOGIN=false
|
||||
|
||||
# Allow Social Registration (WORKS ONLY for Google, Github, Discord)
|
||||
ALLOW_SOCIAL_REGISTRATION=false
|
||||
|
||||
# JWT Secrets
|
||||
JWT_SECRET=secret
|
||||
JWT_REFRESH_SECRET=secret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue