diff --git a/UI/WebServerResources/js/Common/SOGoAuthentication.js b/UI/WebServerResources/js/Common/SOGoAuthentication.js index 16e3e3dbf..f8cd9e742 100644 --- a/UI/WebServerResources/js/Common/SOGoAuthentication.js +++ b/UI/WebServerResources/js/Common/SOGoAuthentication.js @@ -154,8 +154,11 @@ if (perr == passwordPolicyConfig.PolicyNoError) { msg = l('Wrong username or password.'); } + else if (perr == passwordPolicyConfig.PolicyAccountLocked) { + msg = l('Your account was locked due to too many failed attempts.'); + } else { - msg = l('Login failed due to unhandled error case: ' + perr); + msg = l('Login failed due to unhandled error case: ') + perr; } } else {