mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-25 20:32:11 +03:00
feat(auth): redirect to upload page on login (#260)
This commit is contained in:
parent
a16deb682d
commit
67ca4e33fa
@ -42,7 +42,7 @@ export default function Login() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (session?.user !== undefined) {
|
if (session?.user !== undefined) {
|
||||||
redirect("/");
|
redirect("/upload");
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user