From c4a3baaab1c16d7e83b28a0b514a2fd3709a0d21 Mon Sep 17 00:00:00 2001
From: Pierre Ecarlat <pecarlat@grandlyon.com>
Date: Mon, 25 Nov 2024 08:09:17 +0000
Subject: [PATCH] =?UTF-8?q?fix:=20Refus=C3=A9e=20status=20should=20not=20r?=
 =?UTF-8?q?eturn=20expired=20consent=20error?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/core/core.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/core.js b/src/core/core.js
index bc4ac12..e2bd96e 100644
--- a/src/core/core.js
+++ b/src/core/core.js
@@ -61,7 +61,7 @@ async function handleConsents(consents, boUrlGRDF, boToken) {
       await saveAccountData(accountData)
     }
     if (!manualExecution) {
-      throw errors.USER_ACTION_NEEDED_SCA_REQUIRED
+      throw errors.USER_ACTION_NEEDED_WEBAUTH_REQUIRED
     }
   }
 
-- 
GitLab