📧 feat: disable login (ALLOW_EMAIL_LOGIN) (#1282)

* added ALLOW_EMAIL_LOGIN

* update .env.example

* fix(config) email login true by default

* Update dotenv.md
This commit is contained in:
Marco Beretta 2023-12-06 13:08:49 +01:00 committed by GitHub
parent 1706886a64
commit fdb65366d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 14 additions and 3 deletions

View file

@ -507,7 +507,10 @@ CHECK_BALANCE=false
### Registration and Login
see: [User/Auth System](../install/user_auth_system.md)
![image](https://github.com/danny-avila/LibreChat/assets/81851188/52a37d1d-7392-4a9a-a79f-90ed2da7f841)
- General Settings:
- `ALLOW_EMAIL_LOGIN`: Email login. Set to `true` or `false` to enable or disable ONLY email login.
- `ALLOW_REGISTRATION`: Email registration of new users. Set to `true` or `false` to enable or disable Email registration.
- `ALLOW_SOCIAL_LOGIN`: Allow users to connect to LibreChat with various social networks, see below. Set to `true` or `false` to enable or disable.
- `ALLOW_SOCIAL_REGISTRATION`: Enable or disable registration of new user using various social network. Set to `true` or `false` to enable or disable.
@ -668,4 +671,4 @@ Mail address for from field. It is **REQUIRED** to set a value here (even if it'
```bash
EMAIL_FROM=noreply@librechat.ai
```
```