@tomei/sso 0.35.5 → 0.35.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -1820,17 +1820,8 @@ export class User extends UserBase {
|
|
1820
1820
|
return false;
|
1821
1821
|
}
|
1822
1822
|
|
1823
|
-
|
1824
|
-
|
1825
|
-
MFAEnabled: 1,
|
1826
|
-
},
|
1827
|
-
{
|
1828
|
-
where: {
|
1829
|
-
UserId: userId,
|
1830
|
-
},
|
1831
|
-
transaction: dbTransaction,
|
1832
|
-
},
|
1833
|
-
);
|
1823
|
+
user.MFAEnabled = 1;
|
1824
|
+
await user.save({ transaction: dbTransaction });
|
1834
1825
|
|
1835
1826
|
// 5. Retrieve Session
|
1836
1827
|
const userSession = await this._SessionService.retrieveUserSession(
|