mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05: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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue