From 5d5bf6523829c705a8c4f07c0ad44b2103d4e21a Mon Sep 17 00:00:00 2001 From: William Randall Birdsall Date: Thu, 26 Sep 2024 11:40:14 -0400 Subject: [PATCH] If IPP is opted in, ignore extend session callback --- app/javascript/packs/document-capture.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/packs/document-capture.tsx b/app/javascript/packs/document-capture.tsx index 4061335eee9..9fb40a44572 100644 --- a/app/javascript/packs/document-capture.tsx +++ b/app/javascript/packs/document-capture.tsx @@ -205,7 +205,7 @@ const App = composeComponents( [ DocumentCapture, { - onStepChange: extendSession, + onStepChange: optedInToInPersonProofing === 'true' ? () => null : extendSession, }, ], );