forked from dbroqua/MusicTopus
#94 - Page affichée après la connexion
This commit is contained in:
parent
a8e1ff9a00
commit
b0dc6d820d
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue