fix: login redirect
This commit is contained in:
@@ -71,7 +71,7 @@ export const actions = {
|
||||
}
|
||||
}
|
||||
|
||||
console.log('Redirecting to:', next || `${base}/auth/about/${responseBody.user.id}`);
|
||||
throw redirect(303, next || `${base}/auth/about/${responseBody.user.id}`);
|
||||
console.log('Redirecting to:', next || `${base}/auth/about/${responseBody.user_id}`);
|
||||
throw redirect(303, next || `${base}/auth/about/${responseBody.user_id}`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user