From dbaf3d3a0b910b87e0ddf6b377517cc8bbd04835 Mon Sep 17 00:00:00 2001 From: DesmondL-dev <161560016+DesmondL-dev@users.noreply.github.com> Date: Wed, 11 Mar 2026 15:53:16 -0400 Subject: [PATCH] feat(auth): inject one-click demo bypass for recruiter access Inject Admin and Analyst quick-login buttons with auto-fill and submit logic to lower the barrier for non-technical evaluation. --- src/features/auth/components/LoginForm.tsx | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/features/auth/components/LoginForm.tsx b/src/features/auth/components/LoginForm.tsx index 4ff8180..e5af4eb 100644 --- a/src/features/auth/components/LoginForm.tsx +++ b/src/features/auth/components/LoginForm.tsx @@ -27,6 +27,7 @@ export const LoginForm = () => { const { register, handleSubmit, + setValue, formState: { errors, isSubmitting }, } = useForm({ resolver: zodResolver(loginSchema), @@ -115,6 +116,37 @@ export const LoginForm = () => { ) : ( <> + {/* One-Click Demo Access — HR/Recruiter bypass; pre-seeds form payload and triggers handshake. */} +
+

+ Demo Access +

+
+ + +
+
+ {/* Email Payload Input */}