@adminforth/two-factors-auth 2.7.1 → 2.7.2

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 272,788 bytes received 210 bytes 545,996.00 bytes/sec
19
- total size is 271,961 speedup is 1.00
18
+ sent 272,849 bytes received 210 bytes 546,118.00 bytes/sec
19
+ total size is 272,022 speedup is 1.00
@@ -288,6 +288,8 @@ const handleSkip = async () => {
288
288
  handlePasskeyAlert();
289
289
  }
290
290
  await user.finishLogin();
291
+ } else if (resp.error) {
292
+ codeError.value = resp.error;
291
293
  } else {
292
294
  codeError.value = 'Something went wrong';
293
295
  }
@@ -288,6 +288,8 @@ const handleSkip = async () => {
288
288
  handlePasskeyAlert();
289
289
  }
290
290
  await user.finishLogin();
291
+ } else if (resp.error) {
292
+ codeError.value = resp.error;
291
293
  } else {
292
294
  codeError.value = 'Something went wrong';
293
295
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",