Skip to content

Commit 8df8ede

Browse files
author
Oleksii Korshenko
committed
MAGETWO-83096: [BACKPORT 2.1] [TASK] Add resetPassword call to the webapi #11920
- Merge Pull Request #11920 from experius/magento2:experius-2.1-patch-customer-api-reset-password - Merged commits: 1. fe6fd54
2 parents cbe5578 + fe6fd54 commit 8df8ede

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
@@ -188,6 +188,12 @@
188188
<resource ref="anonymous"/>
189189
</resources>
190190
</route>
191+
<route url="/V1/customers/resetPassword" method="POST">
192+
<service class="Magento\Customer\Api\AccountManagementInterface" method="resetPassword"/>
193+
<resources>
194+
<resource ref="anonymous"/>
195+
</resources>
196+
</route>
191197
<route url="/V1/customers/:customerId/confirm" method="GET">
192198
<service class="Magento\Customer\Api\AccountManagementInterface" method="getConfirmationStatus"/>
193199
<resources>

0 commit comments

Comments
 (0)