Skip to content

@aws-amplify/[email protected]

Choose a tag to compare

@github-actions github-actions released this 14 Nov 16:55
· 1712 commits to main since this release
2587610

Major Changes

Patch Changes

  • #2877 ab8942c54 Thanks @ErikCH! - BREAKING: When overriding Auth.signUp, update the override function call to include the autoSignIn option set to enabled. This is now required.

     async handleSignUp(formData) {
      let { username, password, attributes } = formData;
      // custom username
      username = username.toLowerCase();
      attributes.email = attributes.email.toLowerCase();
      return Auth.signUp({
        username,
        password,
        attributes,
    +   autoSignIn: {
    +     enabled: true
    +   }
      });
    }