Destroy user token when changing its role
authorChocobozzz <me@florianbigard.com>
Tue, 23 Jan 2018 08:15:36 +0000 (09:15 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 23 Jan 2018 08:49:57 +0000 (09:49 +0100)
commitf8b8c36b2a92bfee435747ab5a0283924be76281
tree99e17a5c9413614071ae63d72e9b9557fc8cef43
parent59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6
Destroy user token when changing its role
server/controllers/api/users.ts
server/middlewares/validators/users.ts
server/models/oauth/oauth-token.ts
server/tests/api/check-params/users.ts
server/tests/api/users/users.ts
server/tests/utils/users/login.ts