Skip to content

Commit

Permalink
refactor(service): users typescript/di: update todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
restjohn committed Aug 21, 2024
1 parent 448d8d3 commit 22ab9a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions service/src/routes/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,8 @@ module.exports = function (app, security) {
}
);

// Update a specific user's password
// Need UPDATE_USER_PASSWORD to change a users password
// TODO this needs to be update to use the UPDATE_USER_PASSWORD permission when Android is updated to handle that permission
// TODO: this needs to be update to use the UPDATE_USER_PASSWORD permission when Android is updated to handle that permission
// TODO: updated: android is fine now. create a migration to add UPDATE_USER_PASSWORD to the ADMIN_ROLE
app.put(
'/api/users/:userId/password',
passport.authenticate('bearer'),
Expand Down

0 comments on commit 22ab9a6

Please sign in to comment.