fix(SW-360): redirect verify step when authed as well
This commit is contained in:
committed by
Pontus Dreij
parent
bf8976c24c
commit
c21a0cd18b
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user