changed error text on login page

fixed #1207
This commit is contained in:
daria 2023-09-01 14:35:27 +03:00
parent 15727d605b
commit f5a7a346af
1 changed files with 4 additions and 2 deletions

View File

@ -589,7 +589,8 @@ define([
break;
case 'INVAL_USER':
UI.removeLoadingScreen(function () {
UI.alert(Messages.login_invalUser, function () {
Messages.login_notFilledUser = 'The field Username has not been filled in'; // XXX
UI.alert(Messages.login_notFilledUser , function () {
hashing = false;
$('#password').focus();
});
@ -597,7 +598,8 @@ define([
break;
case 'INVAL_PASS':
UI.removeLoadingScreen(function () {
UI.alert(Messages.login_invalPass, function () {
Messages.login_notFilledPass = 'The field Password has not been filled in'; // XXX
UI.alert(Messages.login_notFilledPass, function () {
hashing = false;
$('#password').focus();
});