mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
👥 fix: Reinstate Default Social Login Values (#1811)
* fix: social logins accidentally removed default in AppService, reinstated and added test * chore: move birthday to OTHER section and make disabled by default
This commit is contained in:
parent
60b1d1332c
commit
637a1a41c2
6 changed files with 25 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const { FileSources } = require('librechat-data-provider');
|
||||
const { FileSources, defaultSocialLogins } = require('librechat-data-provider');
|
||||
|
||||
const AppService = require('./AppService');
|
||||
|
||||
|
|
@ -240,6 +240,7 @@ describe('AppService updating app.locals', () => {
|
|||
expect(app.locals.paths).toBeDefined();
|
||||
expect(app.locals.availableTools).toBeDefined();
|
||||
expect(app.locals.fileStrategy).toEqual(FileSources.local);
|
||||
expect(app.locals.socialLogins).toEqual(defaultSocialLogins);
|
||||
});
|
||||
|
||||
it('should update app.locals with values from loadCustomConfig', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue