Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 607c9a8

Browse files
author
Oleksii Korshenko
committed
MAGETWO-83095: [BACKPORT 2.2] [TASK] Add resetPassword call to the webapi #11917
- Merge Pull Request magento/magento2#11917 from experius/magento2:experius-2.2-patch-customer-api-reset-password - Merged commits: 1. 80ba9c8
2 parents 884d717 + 80ba9c8 commit 607c9a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/Customer/etc/webapi.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,12 @@
194194
<resource ref="anonymous"/>
195195
</resources>
196196
</route>
197+
<route url="/V1/customers/resetPassword" method="POST">
198+
<service class="Magento\Customer\Api\AccountManagementInterface" method="resetPassword"/>
199+
<resources>
200+
<resource ref="anonymous"/>
201+
</resources>
202+
</route>
197203
<route url="/V1/customers/:customerId/confirm" method="GET">
198204
<service class="Magento\Customer\Api\AccountManagementInterface" method="getConfirmationStatus"/>
199205
<resources>

0 commit comments

Comments
 (0)