Skip to content

Password changed via changePassword even if current password is incorrect #8

Description

@Nyx-G

If I try to change a user's password, I run code like the below:

$api->user->changePassword(array(
                "new_password" => $new_password,
                "current_password" => $current_password,
                "user_id" => $user_id

However, if the value for $current_password is incorrect, the password is still changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions