Skip to content

Commit fe74547

Browse files
committed
fix: login messaging copyedit
1 parent 3a9004d commit fe74547

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

frontend-graphql/src/components/Login.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ class Login extends Component {
4747
};
4848

4949
handleError = () => {
50-
const message = ' - Wrong password';
50+
const message =
51+
' - Sorry, that username and password combination is not valid.';
5152
this.setState({ message });
5253
};
5354

frontend/pages/login.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ class Login extends Component {
3333
Router.push('/');
3434
})
3535
.catch(() => {
36-
message = ' - Wrong password';
36+
message =
37+
' - Sorry, that username and password combination is not valid.';
3738
this.setState({ message });
3839
});
3940
}

0 commit comments

Comments
 (0)