Skip to content

Commit afc70bd

Browse files
author
Dean Foran
authored
docs(aws-cognito): Docstring naming for userpool interface property (#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*
1 parent e02ea5a commit afc70bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@aws-cdk/aws-cognito/lib/user-pool.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,8 @@ export interface UserPoolProps {
585585
/**
586586
* Configure the MFA types that users can use in this user pool. Ignored if `mfa` is set to `OFF`.
587587
*
588-
* @default - { sms: true, oneTimePassword: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`.
589-
* { sms: false, oneTimePassword: false }, otherwise
588+
* @default - { sms: true, otp: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`.
589+
* { sms: false, otp: false }, otherwise
590590
*/
591591
readonly mfaSecondFactor?: MfaSecondFactor;
592592

0 commit comments

Comments
 (0)