Update IdentityUserManager.cs

pull/17990/head
Salih 1 year ago
parent 0eac81d5f4
commit c0a7762b2a

@ -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