@adminforth/two-factors-auth 2.7.3 → 2.7.4

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/build.log CHANGED
@@ -15,5 +15,5 @@ custom/package.json
15
15
  custom/tsconfig.json
16
16
  custom/utils.js
17
17
 
18
- sent 271,998 bytes received 210 bytes 544,416.00 bytes/sec
19
- total size is 271,171 speedup is 1.00
18
+ sent 272,033 bytes received 210 bytes 544,486.00 bytes/sec
19
+ total size is 271,206 speedup is 1.00
@@ -285,7 +285,7 @@ const handleSkip = async () => {
285
285
  });
286
286
  if (resp.allowedLogin){
287
287
  if ( route.meta.isPasskeysEnabled ) {
288
- handlePasskeyAlert();
288
+ handlePasskeyAlert(route.meta.suggestionPeriod, router);
289
289
  }
290
290
  await user.finishLogin();
291
291
  } else if (resp.error) {
@@ -285,7 +285,7 @@ const handleSkip = async () => {
285
285
  });
286
286
  if (resp.allowedLogin){
287
287
  if ( route.meta.isPasskeysEnabled ) {
288
- handlePasskeyAlert();
288
+ handlePasskeyAlert(route.meta.suggestionPeriod, router);
289
289
  }
290
290
  await user.finishLogin();
291
291
  } else if (resp.error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "2.7.3",
3
+ "version": "2.7.4",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",