-
-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Labels
Description
Bug report
Describe the bug
When using TwoFactor with typeorm, it fails to get the two-factor service from the user object because the services attribute is an array instead of an object. See the code here
The code for the services attribute construction in typeorm is here
This is also inconsistent with the service attribute on the User in mongodb (which returns it as an object instead of an array).
System information
- Version of accounts-js: 0.31.1