@adminforth/two-factors-auth 2.2.0 → 2.2.1
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 +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -516,7 +516,7 @@ export default class TwoFactorsAuthPlugin extends AdminForthPlugin {
|
|
|
516
516
|
throw new Error('Verification failed.');
|
|
517
517
|
}
|
|
518
518
|
const { aaguid, credential, credentialBackedUp } = registrationInfo;
|
|
519
|
-
const provider_name = ((_g = aaguids[aaguid]) === null || _g === void 0 ? void 0 : _g.name) || 'Unknown';
|
|
519
|
+
const provider_name = ((_g = aaguids[aaguid]) === null || _g === void 0 ? void 0 : _g.name) || 'Unknown provider';
|
|
520
520
|
const credentialPublicKey = credential.publicKey;
|
|
521
521
|
const credentialID = credential.id;
|
|
522
522
|
const base64CredentialID = credentialID;
|
package/index.ts
CHANGED
|
@@ -562,7 +562,7 @@ export default class TwoFactorsAuthPlugin extends AdminForthPlugin {
|
|
|
562
562
|
credential,
|
|
563
563
|
credentialBackedUp
|
|
564
564
|
} = registrationInfo;
|
|
565
|
-
const provider_name = aaguids[aaguid]?.name || 'Unknown';
|
|
565
|
+
const provider_name = aaguids[aaguid]?.name || 'Unknown provider';
|
|
566
566
|
const credentialPublicKey = credential.publicKey;
|
|
567
567
|
const credentialID = credential.id;
|
|
568
568
|
|