Change auth error message to be more clear

This commit is contained in:
Crypto137 2023-01-10 05:05:23 +03:00
parent f100f499d2
commit 4b6e81e398

View File

@ -175,7 +175,7 @@ namespace DiIiS_NA.REST
{
loginResult.AuthenticationState = "LOGIN";
loginResult.ErrorCode = "UNABLE_TO_DECODE";
loginResult.ErrorMessage = "HEBEPHO! WRONG! English do you speak IT?!";
loginResult.ErrorMessage = "The information you have entered is not valid.";
SendResponse(HttpCode.BadRequest, loginResult);
Logger.Error("Аутентификация неудалась: Логин - {0}. Cоединение с REST разорвано.", login);
}