Skip to content

Commit

Permalink
docs(aws-cognito): Docstring naming for userpool interface property (#…
Browse files Browse the repository at this point in the history
…19376)

# Summary

Fix the incorrect property name for the **MfaSecondFactor** interface on the UserPool Class doc-strings.

>Fixes the below issue
#19375 
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
Dean Foran authored Mar 14, 2022
1 parent e02ea5a commit afc70bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-cognito/lib/user-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,8 @@ export interface UserPoolProps {
/**
* Configure the MFA types that users can use in this user pool. Ignored if `mfa` is set to `OFF`.
*
* @default - { sms: true, oneTimePassword: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`.
* { sms: false, oneTimePassword: false }, otherwise
* @default - { sms: true, otp: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`.
* { sms: false, otp: false }, otherwise
*/
readonly mfaSecondFactor?: MfaSecondFactor;

Expand Down

0 comments on commit afc70bd

Please sign in to comment.