@mantiq/auth 0.5.5 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -66,7 +66,9 @@ export class AuthServiceProvider extends ServiceProvider {
|
|
|
66
66
|
kernel.registerMiddleware('abilities', CheckAbilities as any)
|
|
67
67
|
kernel.registerMiddleware('ability', CheckForAnyAbility as any)
|
|
68
68
|
} catch {
|
|
69
|
-
|
|
69
|
+
if (process.env.APP_DEBUG === 'true') {
|
|
70
|
+
console.warn('[Mantiq] AuthServiceProvider: HttpKernel not available, auth middleware not registered')
|
|
71
|
+
}
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
74
|
}
|