Add login page
This commit is contained in:
@ -56,7 +56,7 @@
|
||||
InputModel Input { get; set; } = new();
|
||||
|
||||
[SupplyParameterFromQuery]
|
||||
string? Errors { get; set; }
|
||||
string? Error { get; set; }
|
||||
|
||||
[SupplyParameterFromQuery]
|
||||
string? ReturnUrl { get; set; }
|
||||
@ -67,13 +67,13 @@
|
||||
|
||||
if (firstRender)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Errors))
|
||||
if (!string.IsNullOrEmpty(Error))
|
||||
{
|
||||
NotificationService.Notify(new NotificationMessage()
|
||||
{
|
||||
Severity = NotificationSeverity.Error,
|
||||
Summary = "Ошибка",
|
||||
Detail = Errors,
|
||||
Detail = Error,
|
||||
Duration = -1d
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user