Skip to content

Commit 7e20721

Browse files
committed
Don't disable invalid login form.
1 parent d3992d8 commit 7e20721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/login-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class LoginForm extends React.Component {
4141
id="password"
4242
validate={[required, nonEmpty]}
4343
/>
44-
<button disabled={this.props.invalid || this.props.submitting}>
44+
<button disabled={this.props.pristine || this.props.submitting}>
4545
Log in
4646
</button>
4747
</form>

0 commit comments

Comments
 (0)