mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
Removed unused API endpoint: POST /users (#9052)
no issue - this endpoint does not exist anymore - if you want to add a new user, you have to invite him via the invites API - on invite accept, the user is inserted
This commit is contained in:
parent
ec6e25674c
commit
472858f262
@ -62,8 +62,6 @@ module.exports = function apiRoutes() {
|
||||
apiRouter.put('/users/password', mw.authenticatePrivate, api.http(api.users.changePassword));
|
||||
apiRouter.put('/users/owner', mw.authenticatePrivate, api.http(api.users.transferOwnership));
|
||||
apiRouter.put('/users/:id', mw.authenticatePrivate, api.http(api.users.edit));
|
||||
|
||||
apiRouter.post('/users', mw.authenticatePrivate, api.http(api.users.add));
|
||||
apiRouter.del('/users/:id', mw.authenticatePrivate, api.http(api.users.destroy));
|
||||
|
||||
// ## Tags
|
||||
|
Loading…
Reference in New Issue
Block a user