Skip to content

Commit

Permalink
signup with 42 からサインアップできないバグ (#271)
Browse files Browse the repository at this point in the history
* signup form が、callback のリンクがlogin になっていてsignup できていなかった。
訂正しました
  • Loading branch information
kotto5 authored Feb 19, 2024
1 parent 5570b2e commit 613faf5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/app/ui/auth/signup-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ export default function SignUpForm() {
<Separator className="shrink self-center" />
</div>
<Button className="w-full" asChild>
<a href={`${process.env.NEXT_PUBLIC_API_URL}/auth/login/oauth2/42`}>
<a
href={`${process.env.NEXT_PUBLIC_API_URL}/auth/signup/oauth2/42`}
>
Sign up with 42
</a>
</Button>
Expand Down

0 comments on commit 613faf5

Please sign in to comment.