Do not require a password for user profile changes

This commit is contained in:
Johannes Zellner
2016-02-25 13:54:44 +01:00
parent 84c4187fa9
commit 384c410e7c
2 changed files with 1 additions and 21 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ function initializeExpressSync() {
// user routes for admins and users operating on their own account
router.get ('/api/v1/users/:userId', usersScope, routes.user.info);
router.put ('/api/v1/users/:userId', usersScope, routes.user.verifyPassword, routes.user.update);
router.put ('/api/v1/users/:userId', usersScope, routes.user.update);
router.post('/api/v1/users/:userId/password', usersScope, routes.user.changePassword); // changePassword verifies password
// Group management