diff --git a/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/Error.cshtml.cs b/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/Error.cshtml.cs index bae4eb380e..90622f7dc3 100644 --- a/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/Error.cshtml.cs +++ b/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/Error.cshtml.cs @@ -22,7 +22,10 @@ namespace Volo.Abp.Account.Web.Pages.Account public async Task OnGet(string errorId) { - ErrorMessage = await _interaction.GetErrorContextAsync(errorId); + ErrorMessage = await _interaction.GetErrorContextAsync(errorId) ?? new ErrorMessage + { + Error = L["Error"] + }; if (ErrorMessage != null) {