loopback/test
Ritchie Martori d45c1ae7bb Fix logout to handle no or missing accessToken
Return 401 when the request does not provide any accessToken argument
or the token was not found.

Also simplify the implementation of the `logout` method to make only
a single database call (`deleteById`) instead of `findById` + `delete`.
2017-01-30 08:56:18 +01:00
..
e2e Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
fixtures Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
helpers Use English when running Mocha tests 2017-01-26 10:11:08 +01:00
util Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
access-control.integration.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
access-token.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
acl.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
app.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
change-stream.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
change.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
checkpoint.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
context-options.test.js Contextify DAO and relation methods 2016-12-22 10:26:09 +01:00
data-source.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
email.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
error-handler.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
geo-point.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
hidden-properties.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
integration.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
karma.conf.js Remove test/support.js from karma config 2017-01-26 10:11:08 +01:00
key-value-model.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
loopback.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
memory.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
mocha.opts Use English when running Mocha tests 2017-01-26 10:11:08 +01:00
model.application.test.js Upgrade eslint config and grunt-eslint to latest 2016-12-06 16:05:13 +01:00
model.test.js Implement new http arg mapping optionsFromRequest 2016-12-22 10:26:01 +01:00
registries.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
relations.integration.js Upgrade eslint-config to 7.x 2017-01-06 12:12:35 +01:00
remote-connector.test.js Contextify DAO and relation methods 2016-12-22 10:26:09 +01:00
remoting-coercion.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
remoting.integration.js Contextify DAO and relation methods 2016-12-22 10:26:09 +01:00
replication.rest.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
replication.test.js Add option disabling periodic change rectification 2017-01-04 15:58:44 +01:00
rest.middleware.test.js Upgrade eslint config and grunt-eslint to latest 2016-12-06 16:05:13 +01:00
role.test.js Role model: resolves related models by name 2017-01-16 15:48:24 +01:00
user.integration.js Fix logout to handle no or missing accessToken 2017-01-30 08:56:18 +01:00
user.test.js Fix logout to handle no or missing accessToken 2017-01-30 08:56:18 +01:00