loopback/server/middleware
Miroslav Bajtoš 5978cb4919 Fix token middleware to not trigger CLS init
Rework the token middleware to access current context via
`req.loopbackContext` instead of `loopback.getCurentContext()`.
That way the CLS/AsyncListener machinery is configured only in
applications that are using current context.
2016-08-11 18:19:31 +02:00
..
context.js Globalize current-context deprecation messages 2016-08-10 12:40:38 +02:00
error-handler.js update/insert copyright notices 2016-05-03 17:10:46 -07:00
favicon.js Deprecate getters for express 3.x middleware 2016-05-31 18:58:10 +02:00
rest.js update/insert copyright notices 2016-05-03 17:10:46 -07:00
static.js update/insert copyright notices 2016-05-03 17:10:46 -07:00
status.js update/insert copyright notices 2016-05-03 17:10:46 -07:00
token.js Fix token middleware to not trigger CLS init 2016-08-11 18:19:31 +02:00
url-not-found.js update/insert copyright notices 2016-05-03 17:10:46 -07:00