use correct translation

This commit is contained in:
Maren Süwer
2019-01-02 11:32:43 +01:00
parent 63585eed5d
commit 4244e00552

View File

@@ -96,7 +96,7 @@ class Login extends React.Component<Props, State> {
areCredentialsInvalid() {
const { t, error } = this.props;
if (error === UNAUTHORIZED_ERROR) {
return new Error(t("login.wrong-login-credentials"));
return new Error(t("error-notification.wrong-login-credentials"));
} else {
return error;
}