We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef63a3 commit 466cf80Copy full SHA for 466cf80
src/config/index.ts
@@ -126,13 +126,7 @@ export const getAPIAuthMethods = (): Authentication[] => {
126
_apiAuthentication = _userSettings.apiAuthentication;
127
}
128
129
- const enabledAuthMethods = _apiAuthentication.filter((auth) => auth.enabled);
130
-
131
- if (enabledAuthMethods.length === 0) {
132
- console.log('Warning: No authentication method enabled for API endpoints.');
133
- }
134
135
- return enabledAuthMethods;
+ return _apiAuthentication.filter((auth) => auth.enabled);
136
};
137
138
// Log configuration to console
0 commit comments