@tomei/sso 0.35.5 → 0.35.6
Sign up to get free protection for your applications and to get access to all the features.
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(
|