Skip to content

Commit

Permalink
fix: login messaging copyedit
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Feb 28, 2019
1 parent 3a9004d commit fe74547
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend-graphql/src/components/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class Login extends Component {
};

handleError = () => {
const message = ' - Wrong password';
const message =
' - Sorry, that username and password combination is not valid.';
this.setState({ message });
};

Expand Down
3 changes: 2 additions & 1 deletion frontend/pages/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class Login extends Component {
Router.push('/');
})
.catch(() => {
message = ' - Wrong password';
message =
' - Sorry, that username and password combination is not valid.';
this.setState({ message });
});
}
Expand Down

0 comments on commit fe74547

Please sign in to comment.