Change auth error message to be more clear
This commit is contained in:
parent
f100f499d2
commit
4b6e81e398
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
user.block.title