feat(auth): redirect to upload page on login (#260)

This commit is contained in:
Mamadou DICKO 2023-06-05 22:10:12 +02:00 committed by GitHub
parent a16deb682d
commit 67ca4e33fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ export default function Login() {
};
if (session?.user !== undefined) {
redirect("/");
redirect("/upload");
}
return (