wirejs-deploy-amplify-basic 0.0.32 → 0.0.33
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.
|
@@ -140,7 +140,7 @@ export class AuthenticationService extends AuthenticationServiceBase {
|
|
|
140
140
|
return {
|
|
141
141
|
state: 'unauthenticated',
|
|
142
142
|
user: undefined,
|
|
143
|
-
actions: machineActions('completesignup', 'cancel')
|
|
143
|
+
actions: machineActions('completesignup', 'resendsignupcode', 'cancel')
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
else if (state?.substate === 'pending-continueforgotpassword') {
|
|
@@ -281,7 +281,7 @@ export class AuthenticationService extends AuthenticationServiceBase {
|
|
|
281
281
|
}
|
|
282
282
|
const command = new ConfirmSignUpCommand({
|
|
283
283
|
ClientId,
|
|
284
|
-
Username:
|
|
284
|
+
Username: email,
|
|
285
285
|
ConfirmationCode: form.inputs.code
|
|
286
286
|
});
|
|
287
287
|
await client.send(command);
|