-
Notifications
You must be signed in to change notification settings - Fork 1.7k
magento/devdocs#7366: GraphQL: Document password change mutations. Mutation: resetPassword. #7426
magento/devdocs#7366: GraphQL: Document password change mutations. Mutation: resetPassword. #7426
Conversation
An admin must run tests on this PR before it can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR will not pass our quality checks because it contains links to the requestPasswordResetEmail
mutation, which does not exist in this branch.
Meanwhile, #7424 will not pass our quality because it contains links to resetPassword
, which does not exist in that branch.
Since I already approved #7424, comment out the references to requestPasswordResetEmail
here. I will then merge this PR first. After I merge this PR, update #7424 by restoring the text that was commented out.
Argument | Type | Description | ||
--- | --- | --- | ||
`email` | String! | Specifies the customer account that needs a password reset | ||
`resetPasswordToken` | String! | A runtime token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this token come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from email
.... or from customer_entity
.rp_token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Could you please review?
`newPassword` | String! | The new password | ||
|
||
{:.bs-callout-info} | ||
Your new password must be six or more characters in length without spaces. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the value of Customers > Customer Configuration > Password Options > Minimum Password Length determine this? Would it be better to say that the new password must meet the password policies set for the store?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point!
fixed
b2c079a
to
d50316e
Compare
Since this PR is still waiting for a technical review, I commented out the links to In this PR, update src/guides/v2.4/graphql/mutations/request-password-reset-email.md by uncommenting those links. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atwixfirster good job!
@atwixfirster I need you to fix the links to this topic as described previously. |
…resetPassword. - https://devdocs.magento.com/guides/v2.4/graphql/mutations/reset-password.html Merge remote-tracking branch 'upstream/2.4.1-develop' into issue-7364-resetPassword
done |
running tests |
Hi @atwixfirster, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) adds a new topic about
resetPassword
mutation in scope of #7364.Affected DevDocs pages
Links to Magento source code
whatsnew
Added the
resetPassword
mutation.