docs: rename Architectural Modules to Infrastructure Modules (#12212)
* docs: rename Architectural Modules to Infrastructure Modules * generate again
This commit is contained in:
@@ -447,7 +447,7 @@ paths:
|
||||
description: |
|
||||
Generate a reset password token for a customer. This API route doesn't reset the customer password or send them the reset instructions in a notification.
|
||||
|
||||
Instead, This API route emits the `auth.password_reset` event, passing it the token as a payload. You can listen to that event in a subscriber as explained in [this guide](https://docs.medusajs.com/resources/commerce-modules/auth/reset-password), then send the customer a notification. The notification is sent using a [Notification Module Provider](https://docs.medusajs.com/resources/architectural-modules/notification), and it should have a URL that accepts a `token` query parameter, allowing the customer to reset their password from the storefront.
|
||||
Instead, This API route emits the `auth.password_reset` event, passing it the token as a payload. You can listen to that event in a subscriber as explained in [this guide](https://docs.medusajs.com/resources/commerce-modules/auth/reset-password), then send the customer a notification. The notification is sent using a [Notification Module Provider](https://docs.medusajs.com/resources/infrastructure-modules/notification), and it should have a URL that accepts a `token` query parameter, allowing the customer to reset their password from the storefront.
|
||||
|
||||
|
||||
Use the generated token to update the customer's password using the [Reset Password API route](https://docs.medusajs.com/api/store#auth_postactor_typeauth_providerupdate).
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ post:
|
||||
guide](https://docs.medusajs.com/resources/commerce-modules/auth/reset-password),
|
||||
then send the customer a notification. The notification is sent using a
|
||||
[Notification Module
|
||||
Provider](https://docs.medusajs.com/resources/architectural-modules/notification),
|
||||
Provider](https://docs.medusajs.com/resources/infrastructure-modules/notification),
|
||||
and it should have a URL that accepts a `token` query parameter, allowing
|
||||
the customer to reset their password from the storefront.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user