Skip to content

Bug in User update #17

Description

@sourabhdesai

In UserController.js, the update method has a slight bug.

The password that is given in the request body must be checked to see whether it is the correct user password. This is done after the user has already been updated and instead should happen before.

This is the line that Im talking about

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions