🐛 Another bug fix to fix bug fix...
This commit is contained in:
parent
8938d347c6
commit
2f051d0615
@ -183,7 +183,7 @@ public class AccountService(
|
|||||||
throw new InvalidOperationException(
|
throw new InvalidOperationException(
|
||||||
"Disabling this auth factor will cause you have no active auth factors.");
|
"Disabling this auth factor will cause you have no active auth factors.");
|
||||||
|
|
||||||
factor.EnabledAt = SystemClock.Instance.GetCurrentInstant();
|
factor.EnabledAt = null;
|
||||||
db.Update(factor);
|
db.Update(factor);
|
||||||
await db.SaveChangesAsync();
|
await db.SaveChangesAsync();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user