From 9f9bd0c381dc32e1f9d83df8f9134aa33f95eb4d Mon Sep 17 00:00:00 2001
From: yyamashita <yyamashita@hetzner.yyamashita.com>
Date: Sat, 20 Jun 2026 00:44:47 +0900
Subject: Fix TypeError: remove erroneous b64urlToBuffer call on user object

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
 app/routes/auth.register.tsx | 1 -
 1 file changed, 1 deletion(-)

(limited to 'app/routes/auth.register.tsx')

diff --git a/app/routes/auth.register.tsx b/app/routes/auth.register.tsx
index 7258d38..3728116 100644
--- a/app/routes/auth.register.tsx
+++ b/app/routes/auth.register.tsx
@@ -58,7 +58,6 @@ export default function Register() {
       }
       setStep("1d. JSON パース OK"); await tick();
 
-      const userId = b64urlToBuffer(optJSON.user as never as string);
       const userObj = optJSON.user as Record<string, string>;
       const challenge = b64urlToBuffer(optJSON.challenge as string);
       setStep("2. credentials.create() 呼び出し中…"); await tick();
-- 
cgit v1.2.3

