0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-01 02:42:23 -05:00

Logout endpoint should support tokens with /s

This commit is contained in:
trent.earl 2016-10-11 18:53:20 -05:00
parent 25e00a3172
commit 5e00e46a9b

View file

@ -205,7 +205,7 @@ module.exports = function(config, auth, storage) {
}
})
app.delete('/-/user/token/:token', function(req, res, next) {
app.delete('/-/user/token/*', function(req, res, next) {
res.status(200)
next({
ok: 'Logged out',