update the code to use simple validation.

This commit is contained in:
Ben
2024-10-24 20:04:18 +08:00
parent 4f74962ce2
commit ce51262197
4 changed files with 14 additions and 97 deletions

View File

@ -279,7 +279,7 @@
}
else
{
_message = string.Join("<br />", result.Errors.Select(i => i.Value));
_message = string.Join("<br />", result.Errors.Select(i => !string.IsNullOrEmpty(i.Value) ? i.Value : Localizer[i.Key]));
}
}
else