Skip to content

Commit

Permalink
Merge branch 'master' into feature/#1-signup
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Kevany authored Mar 12, 2020
2 parents 0edbe1a + 5c22e9b commit 8aeec16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jspm_packages
.serverless

#amplify
/amplify
amplify/\#current-cloud-backend
amplify/.config/local-*
amplify/mock-data
Expand All @@ -19,4 +18,4 @@ aws-exports.js
awsconfiguration.json
amplifyconfiguration.json
amplify-gradle-config.json
amplifyxc.config
amplifyxc.config
2 changes: 1 addition & 1 deletion frontend/src/Components/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Login extends Component {
handleChange = ({ target: { id, value } }) => this.setState({ [id]: value })

validateInput = () =>
this.state.email.length > 0 && this.state.password.length > 0
this.state.email.length > 3 && this.state.password.length >= 8

handleSubmit = event => {
//Don't refresh page on form submit``
Expand Down

0 comments on commit 8aeec16

Please sign in to comment.