We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9bd5e9 commit 5ebddcbCopy full SHA for 5ebddcb
packages/aws-amplify-react/src/Auth/SignIn.jsx
@@ -67,7 +67,7 @@ export default class SignIn extends AuthPiece {
67
// avoid submitting the form
68
event.preventDefault();
69
70
- const { username, password } = this.inputs;
+ const { username='', password } = this.inputs;
71
if (!Auth || typeof Auth.signIn !== 'function') {
72
throw new Error('No Auth module found, please ensure @aws-amplify/auth is imported');
73
}
0 commit comments