🚸 Added redirectTo to not redirect to /overview every time

This commit is contained in:
Mawoka
2022-04-15 10:46:56 +02:00
parent e581437f36
commit 95ca55dcdd
10 changed files with 223 additions and 179 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
if (!session.authenticated) {
return {
status: 302,
redirect: '/account/login'
redirect: '/account/login?returnTO=/create'
};
}
if (session.authenticated) {