Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{
path: 'auth/local/login',
method: 'POST',
callback: 'common/auth/route-login-callback.js'
}
],
logoutRoute: {
path: 'auth/local/logout',
method: 'GET'
}
}
])
switch (launchMode) {
case 'dev': {
const moduleAdmin = resolveModuleAdmin()
const resolveConfig = merge(
defaultResolveConfig,
appConfig,
devConfig,
authModule,
moduleAdmin
)
await reset(
resolveConfig,
{
dropEventStore: false,
dropSnapshots: true,
dropReadModels: true,
dropSagas: true
},