core/api/authentication.js
Showing 1 of 1 total issue
Function auth
has a Cognitive Complexity of 37 (exceeds 20 allowed). Consider refactoring. Open
Open
export default function auth (app) { const config = app.get('authentication') if (!config) return // Having undefined providers causes an issue in feathers but we'd like to be able // to set providers undefined in config file based on some conditions (eg env vars)
- Read upRead up