@adminforth/two-factors-auth 2.9.17 → 2.9.18

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/dist/index.js CHANGED
@@ -505,7 +505,7 @@ export default class TwoFactorsAuthPlugin extends AdminForthPlugin {
505
505
  meta: {
506
506
  loginAllowedByPasskeyDirectSignIn: true
507
507
  },
508
- });
508
+ }, rememberMe ? this.adminforth.config.auth.rememberMeDays || 30 : 1);
509
509
  if (toReturn.allowedLogin === true) {
510
510
  this.adminforth.auth.setAuthCookie({
511
511
  response,
package/index.ts CHANGED
@@ -559,7 +559,7 @@ export default class TwoFactorsAuthPlugin extends AdminForthPlugin {
559
559
  loginAllowedByPasskeyDirectSignIn: true
560
560
  },
561
561
  },
562
- // rememberMeDays: rememberMe ? this.adminforth.config.auth.rememberMeDays || 30 : 1,
562
+ rememberMe ? this.adminforth.config.auth.rememberMeDays || 30 : 1,
563
563
 
564
564
  );
565
565
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "2.9.17",
3
+ "version": "2.9.18",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",