예제 #1
0
 public void When(UserUnlocked e)
 {
     _writer.UpdateOrThrow(e.Id, lv =>
     {
         lv.LockedOutTillUtc = DateTime.MinValue;
         lv.LockoutMessage   = null;
     });
 }
예제 #2
0
 public void When(UserUnlocked e)
 {
     _writer.UpdateOrThrow(e.Id, lv =>
     {
         lv.IsLocked       = false;
         lv.LockoutMessage = null;
     });
 }
예제 #3
0
 public void When(UserUnlocked e)
 {
     TrackedLoginFailures.Clear();
     LockedOutTillUtc = DateTime.MinValue;
 }
예제 #4
0
 public void When(UserUnlocked e)
 {
     _writer.UpdateOrThrow(e.SecurityId, view => view.Unlock(e.Id));
 }
예제 #5
0
 public void When(UserUnlocked e)
 {
     _writer.UpdateOrThrow(e.Id, lv =>
     {
         lv.LockedOutTillUtc = DateTime.MinValue;
         lv.LockoutMessage = null;
     });
 }
예제 #6
0
 public void When(UserUnlocked e)
 {
     Locked = false;
 }
예제 #7
0
 public void When(UserUnlocked e)
 {
     _writer.UpdateOrThrow(e.SecurityId, view => view.Unlock(e.Id));
 }
예제 #8
0
 public void When(UserUnlocked e)
 {
     TrackedLoginFailures.Clear();
     LockedOutTillUtc = DateTime.MinValue;
 }
예제 #9
0
 public void When(UserUnlocked e)
 {
     _writer.UpdateOrThrow(e.Id, lv =>
         {
             lv.IsLocked = false;
             lv.LockoutMessage = null;
         });
 }
예제 #10
0
 public void When(UserUnlocked e)
 {
     Locked = false;
 }
예제 #11
0
 public void Apply(UserUnlocked e)
 {
     _locked = false;
 }
예제 #12
0
 public void Handle(UserUnlocked e)
 {
     Update(e.Id, c => c.Locked = false);
 }