summaryrefslogtreecommitdiff
path: root/app/routes/auth.register.tsx
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-06-20 00:44:47 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-06-20 00:44:47 +0900
commit9f9bd0c381dc32e1f9d83df8f9134aa33f95eb4d (patch)
tree0429837dc7ab4bf9d99d5e8b6c17e031bbb2a858 /app/routes/auth.register.tsx
parentabe09e38fb5dc5ede5abe715520c3e4006c66894 (diff)
Fix TypeError: remove erroneous b64urlToBuffer call on user object
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/routes/auth.register.tsx')
-rw-r--r--app/routes/auth.register.tsx1
1 files changed, 0 insertions, 1 deletions
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();