👥 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:
Danny Avila 2024-02-15 08:20:06 -05:00 committed by GitHub
parent 60b1d1332c
commit 637a1a41c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 25 additions and 14 deletions

View file

@ -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 () => {