From 2f051d0615a0d34f4f0fe5267ab1ff0c2bdf6b2c Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 7 Jun 2025 02:45:33 +0800 Subject: [PATCH] :bug: Another bug fix to fix bug fix... --- DysonNetwork.Sphere/Account/AccountService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DysonNetwork.Sphere/Account/AccountService.cs b/DysonNetwork.Sphere/Account/AccountService.cs index 0a3048e..3381c8b 100644 --- a/DysonNetwork.Sphere/Account/AccountService.cs +++ b/DysonNetwork.Sphere/Account/AccountService.cs @@ -183,7 +183,7 @@ public class AccountService( throw new InvalidOperationException( "Disabling this auth factor will cause you have no active auth factors."); - factor.EnabledAt = SystemClock.Instance.GetCurrentInstant(); + factor.EnabledAt = null; db.Update(factor); await db.SaveChangesAsync();