@aws-amplify/ui 6.15.0 → 6.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -445,7 +445,7 @@ function signInActor({ services }) {
|
|
|
445
445
|
let { password: challengeResponse, phone_number, country_code,
|
|
446
446
|
// destructure and toss UI confirm_password field
|
|
447
447
|
// to prevent error from sending to confirmSignIn
|
|
448
|
-
confirm_password, ...userAttributes } = formValues;
|
|
448
|
+
confirm_password, username, ...userAttributes } = formValues;
|
|
449
449
|
let phoneNumberWithCountryCode;
|
|
450
450
|
if (phone_number) {
|
|
451
451
|
phoneNumberWithCountryCode =
|
package/dist/index.js
CHANGED
|
@@ -5514,7 +5514,7 @@ function signInActor({ services }) {
|
|
|
5514
5514
|
let { password: challengeResponse, phone_number, country_code,
|
|
5515
5515
|
// destructure and toss UI confirm_password field
|
|
5516
5516
|
// to prevent error from sending to confirmSignIn
|
|
5517
|
-
confirm_password, ...userAttributes } = formValues;
|
|
5517
|
+
confirm_password, username, ...userAttributes } = formValues;
|
|
5518
5518
|
let phoneNumberWithCountryCode;
|
|
5519
5519
|
if (phone_number) {
|
|
5520
5520
|
phoneNumberWithCountryCode =
|