|
|
|
@ -71,6 +71,14 @@ namespace Volo.Abp.Account.Web.Pages.Account |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
protected virtual void CheckCurrentTenant(Guid? tenantId) |
|
|
|
{ |
|
|
|
if (CurrentTenant.Id != tenantId) |
|
|
|
{ |
|
|
|
throw new ApplicationException($"Current tenant is different than given tenant. CurrentTenant.Id: {CurrentTenant.Id}, given tenantId: {tenantId}"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
protected virtual void CheckIdentityErrors(IdentityResult identityResult) |
|
|
|
{ |
|
|
|
if (!identityResult.Succeeded) |
|
|
|
|