amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

awsmobile user-signin enable --prompt advance settings option does not set the mfa-configuration in mobile-hub-project.yml file #91

Closed SagarMhatre closed 6 years ago

SagarMhatre commented 6 years ago

$ awsmobile user-signin enable --prompt

? Sign-in is currently disabled, what do you want to do next Go to advance settings ? Which sign-in method you want to configure Cognito UserPools (currently disabled) ? How are users going to login Email ? Password minimum length (number of characters) 8 ? Password character requirements uppercase, lowercase, numbers, special characters

$ awsmobile push ... { BadRequestException: MFA configuration cannot be blank. Attribute: mfa-configuration`

For now, I have manually inserted mfa-configuration: OFF below alias-attributes , above the name in the mobile-hub-project.yml file

elorzafe commented 6 years ago

This was fix on version 1.1.0