diff --git a/DysonNetwork.Sphere/Account/AccountService.cs b/DysonNetwork.Sphere/Account/AccountService.cs index 62acb34..0a3048e 100644 --- a/DysonNetwork.Sphere/Account/AccountService.cs +++ b/DysonNetwork.Sphere/Account/AccountService.cs @@ -184,6 +184,9 @@ public class AccountService( "Disabling this auth factor will cause you have no active auth factors."); factor.EnabledAt = SystemClock.Instance.GetCurrentInstant(); + db.Update(factor); + await db.SaveChangesAsync(); + return factor; }