🐛 Fix create auth factor missing account id
This commit is contained in:
parent
f961469db1
commit
f62d86d4a7
@ -143,6 +143,7 @@ public class AccountService(
|
||||
}
|
||||
|
||||
if (factor is null) throw new InvalidOperationException("Unable to create auth factor.");
|
||||
factor.AccountId = account.Id;
|
||||
db.AccountAuthFactors.Add(factor);
|
||||
await db.SaveChangesAsync();
|
||||
return factor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user