Skip to content

[My Account] Customer cannot change password #452

@sync-by-unito

Description

@sync-by-unito

Expected result

Customer should be able to change their password

Actual result

Password is not being changed; error is being thrown; Incorrect payload is being sent to changeCustomerPassword API (customer data instead of change password data)

Steps to reproduce

  1. Go to home page
  2. Login/Register as a customer
  3. Go to My Account panel > Personal details section
  4. Change tab to "Password change"
  5. Insert current and new passwords
  6. Click "UPDATE PASSWORD"

Response

{
   "errors":[
      {
         "message":"Variable \"$currentPassword\" of required type \"String!\" was not provided.\n\nVariable \"$newPassword\" of required type \"String!\" was not provided.",
         "extensions":{
            "category":"graphql"
         }
      }
   ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions