🚸 Added redirectTo to not redirect to /overview every time
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
if (!session.authenticated) {
|
||||
return {
|
||||
status: 302,
|
||||
redirect: '/account/login'
|
||||
redirect: '/account/login?returnTo=/overview'
|
||||
};
|
||||
}
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user