🐛 Fix disable factor did not update
This commit is contained in:
parent
af39694be6
commit
8938d347c6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user