From a8dd8699a3d37843c7ebec64199d1d2f55536459 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 29 Jan 2026 15:55:15 +0200 Subject: [PATCH] adjust kba --- app/javascript/submission_form/kba_step.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/javascript/submission_form/kba_step.vue b/app/javascript/submission_form/kba_step.vue index 15958ad3..253b9636 100644 --- a/app/javascript/submission_form/kba_step.vue +++ b/app/javascript/submission_form/kba_step.vue @@ -555,7 +555,11 @@ export default { const data = await resp.json() if (data.result?.action !== 'PASS') { - this.error = 'Knowledge Based Authentication Failed - make sure you provide correct answers for the Knowledge Based authentication.' + if (data.result?.issues?.length) { + this.error = `Knowledge Based Authentication Failed - make sure you provide correct details for the Knowledge Based authentication: ${data.result.issues.join(', ')}` + } else { + this.error = 'Knowledge Based Authentication Failed - make sure you provide correct answers for the Knowledge Based authentication.' + } throw new Error('Knowledge Based Authentication Failed') }