public void When(UserUnlocked e) { _writer.UpdateOrThrow(e.Id, lv => { lv.LockedOutTillUtc = DateTime.MinValue; lv.LockoutMessage = null; }); }
public void When(UserUnlocked e) { _writer.UpdateOrThrow(e.Id, lv => { lv.IsLocked = false; lv.LockoutMessage = null; }); }
public void When(UserUnlocked e) { TrackedLoginFailures.Clear(); LockedOutTillUtc = DateTime.MinValue; }
public void When(UserUnlocked e) { _writer.UpdateOrThrow(e.SecurityId, view => view.Unlock(e.Id)); }
public void When(UserUnlocked e) { Locked = false; }
public void Apply(UserUnlocked e) { _locked = false; }
public void Handle(UserUnlocked e) { Update(e.Id, c => c.Locked = false); }