Browse Source

Update IdentityUserManager.cs

pull/17990/head
Salih 3 years ago
parent
commit
c0a7762b2a
  1. 2
      modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUserManager.cs

2
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUserManager.cs

@ -321,7 +321,7 @@ public class IdentityUserManager : UserManager<IdentityUser>, IDomainService
result.CheckErrors();
if (!string.IsNullOrEmpty(oldUserName) && !oldUserName.Equals(userName, StringComparison.OrdinalIgnoreCase))
if (!string.IsNullOrEmpty(oldUserName) && oldUserName != userName)
{
await DistributedEventBus.PublishAsync(
new IdentityUserUserNameChangedEto

Loading…
Cancel
Save