Skip to content

Commit

Permalink
Merge pull request #3747 from camptocamp/disable_account
Browse files Browse the repository at this point in the history
Adapt login error message to disable accounts
  • Loading branch information
ger-benjamin authored Apr 9, 2018
2 parents 257b8c7 + 7506efb commit 2fcc4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contribs/gmf/src/authentication/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ gmf.authentication.component.AuthenticationController_ = class {
if (errors.length) {
this.setError_(errors);
} else {
const error = gettextCatalog.getString('Incorrect username or password.');
const error = gettextCatalog.getString('Incorrect credentials or disabled account.');
this.gmfAuthenticationService_.login(this.loginVal, this.pwdVal).then(
this.resetError_.bind(this),
this.setError_.bind(this, error));
Expand Down

0 comments on commit 2fcc4e9

Please sign in to comment.