fix(SW-360): redirect verify step when authed as well

This commit is contained in:
Chuma McPhoy
2024-10-03 17:06:30 +02:00
parent 1f6fd4e980
commit 01b1d195ee
4 changed files with 12 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ export default async function SignupFormWrapper({
}) {
const session = await auth()
if (session) {
// We don't want to allow users to signup if they are already authenticated.
// We don't want to allow users to access signup if they are already authenticated.
redirect(overview[getLang()])
}
return <Form {...dynamic_content} />