mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
use correct translation
This commit is contained in:
@@ -96,7 +96,7 @@ class Login extends React.Component<Props, State> {
|
|||||||
areCredentialsInvalid() {
|
areCredentialsInvalid() {
|
||||||
const { t, error } = this.props;
|
const { t, error } = this.props;
|
||||||
if (error === UNAUTHORIZED_ERROR) {
|
if (error === UNAUTHORIZED_ERROR) {
|
||||||
return new Error(t("login.wrong-login-credentials"));
|
return new Error(t("error-notification.wrong-login-credentials"));
|
||||||
} else {
|
} else {
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user