We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 390e0e0 commit 651a787Copy full SHA for 651a787
index.ts
@@ -460,7 +460,7 @@ export default class TwoFactorsAuthPlugin extends AdminForthPlugin {
460
461
const passkeyRecord = await this.adminforth.resource(this.options.passkeys.credentialResourceID).get([Filters.EQ(this.options.passkeys.credentialIdFieldName, credential_id)]);
462
if (!passkeyRecord) {
463
- return { error: 'Passkey not found' };
+ return { error: 'No registered passkey found, probably it was removed' };
464
}
465
466
const userPk = passkeyRecord[this.options.passkeys.credentialUserIdFieldName];
0 commit comments