diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-26 16:28:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-26 16:28:27 +0200 |
commit | a890d1e0d30851741392e6e7f14acffe685d28e0 (patch) | |
tree | 40f6d0c4643f795670943e176d60b2e85a0fb6e0 /server/controllers/api/users/me.ts | |
parent | be1206bb934c223893a652be5f1f6c911c9c66be (diff) | |
download | PeerTube-a890d1e0d30851741392e6e7f14acffe685d28e0.tar.gz PeerTube-a890d1e0d30851741392e6e7f14acffe685d28e0.tar.zst PeerTube-a890d1e0d30851741392e6e7f14acffe685d28e0.zip |
Check current password on server side
Diffstat (limited to 'server/controllers/api/users/me.ts')
-rw-r--r-- | server/controllers/api/users/me.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users/me.ts b/server/controllers/api/users/me.ts index ff3a87b7f..591ec6b25 100644 --- a/server/controllers/api/users/me.ts +++ b/server/controllers/api/users/me.ts | |||
@@ -87,7 +87,7 @@ meRouter.get('/me/videos/:videoId/rating', | |||
87 | 87 | ||
88 | meRouter.put('/me', | 88 | meRouter.put('/me', |
89 | authenticate, | 89 | authenticate, |
90 | usersUpdateMeValidator, | 90 | asyncMiddleware(usersUpdateMeValidator), |
91 | asyncRetryTransactionMiddleware(updateMe) | 91 | asyncRetryTransactionMiddleware(updateMe) |
92 | ) | 92 | ) |
93 | 93 | ||