fix: enforce representation blob ownership and secure SSR access
This commit is contained in:
@@ -120,7 +120,9 @@ export const loadRepresentationBootstrap = async ({ ctx }) => {
|
||||
|
||||
const [accountDetails, myRepresentations] = await Promise.all([
|
||||
getPersonalAccount(loggedInUser),
|
||||
getRepsFromBlob(thisSession.user.id)
|
||||
getRepsFromBlob(thisSession.user.id, {
|
||||
headers: { Cookie: ctx.req?.headers?.cookie || "" }
|
||||
})
|
||||
]);
|
||||
|
||||
const myRepresentationsDetails = await getDetails(
|
||||
|
||||
Reference in New Issue
Block a user