mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-19 11:26:37 +00:00
improve verify email redirect flow
This commit is contained in:
@@ -19,7 +19,7 @@ export default async function SetupLayout({
|
||||
const user = await getUser();
|
||||
|
||||
if (!user) {
|
||||
redirect("/");
|
||||
redirect("/?redirect=/setup");
|
||||
}
|
||||
|
||||
return <div className="mt-32">{children}</div>;
|
||||
|
||||
Reference in New Issue
Block a user