🐛 Another bug fix to fix bug fix...

This commit is contained in:
LittleSheep 2025-06-07 02:45:33 +08:00
parent 8938d347c6
commit 2f051d0615

View File

@ -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();