From 88979638c353c39873db1c2947c6337389980089 Mon Sep 17 00:00:00 2001 From: Alano Terblanche <18033717+Benehiko@users.noreply.github.com> Date: Thu, 28 Sep 2023 08:40:50 +0200 Subject: [PATCH] fix: duplicate hidden input fields on `auth-code-section` --- .../ory/sections/auth-code-section.tsx | 6 +- .../ory/user-auth-card.spec.tsx | 33 +++- src/test/fixtures/registration.ts | 162 +++++++++++++++++- src/test/models/AuthPage.ts | 6 +- 4 files changed, 201 insertions(+), 6 deletions(-) diff --git a/src/react-components/ory/sections/auth-code-section.tsx b/src/react-components/ory/sections/auth-code-section.tsx index 35fb2c0b4..f8f383bb9 100644 --- a/src/react-components/ory/sections/auth-code-section.tsx +++ b/src/react-components/ory/sections/auth-code-section.tsx @@ -16,7 +16,11 @@ export const AuthCodeSection = ({