Skip to content

Commit 49db722

Browse files
jjarvispjosefaidt
andauthored
Apply suggestions from code review
Co-authored-by: josef <[email protected]>
1 parent c029064 commit 49db722

File tree

2 files changed

+2
-3
lines changed
  • src/pages/[platform]/build-a-backend/auth

2 files changed

+2
-3
lines changed

src/pages/[platform]/build-a-backend/auth/concepts/multi-factor-authentication/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const auth = defineAuth({
5555
```
5656

5757
<Callout info>
58-
Email-based MFA is currently not supported with `defineAuth`. We are working towards supporting this feature. For more information, visit the [feature request in GitHub](https://github.com/aws-amplify/amplify-backend/issues/2159).
58+
**Note:** Email-based MFA is currently not supported with `defineAuth`. We are working towards supporting this feature. For more information, visit the [feature request in GitHub](https://github.com/aws-amplify/amplify-backend/issues/2159).
5959

6060
To take advantage of this feature with an Amplify generated backend, the underlying CDK construct can be extended manually. See [overriding Cognito User Pool multi-factor authentication options](/[platform]/build-a-backend/auth/modify-resources-with-cdk/#override-cognito-userpool-multi-factor-authentication-options) for more information.
6161
</Callout>

src/pages/[platform]/build-a-backend/auth/modify-resources-with-cdk/index.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ export const auth = defineAuth({
8989
},
9090
})
9191
```
92-
Next, extend the underlying CDK construct by activating Advanced Security Mode and adding `EMAIL_OTP` to the enabled MFA options.
92+
Next, extend the underlying CDK construct by activating [Amazon Cognito's Advanced Security Features (ASF)](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html) and add `EMAIL_OTP` to the enabled MFA options.
9393

9494
```ts title="amplify/backend.ts"
95-
9695
import { defineBackend } from "@aws-amplify/backend"
9796
import { auth } from "./auth/resource"
9897

0 commit comments

Comments
 (0)