#94 - Page affichée après la connexion

This commit is contained in:
Damien Broqua 2025-03-28 11:02:56 +01:00
parent a8e1ff9a00
commit b0dc6d820d

View file

@ -57,7 +57,7 @@ router
}
return res.redirect(url);
}
return res.redirect("/");
return res.redirect("/ma-collection");
}
);
@ -79,7 +79,7 @@ if (registrationOpen) {
try {
await Auth.register(req);
res.redirect("/");
res.redirect("/ajouter-un-album");
} catch (err) {
res.redirect("/inscription");
}