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:
parent
25e00a3172
commit
5e00e46a9b
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue