Can I add a field on the cntx.state.user when log in?


I want to have a field called “compras” on the user object (ctx.state.user.compras)
I can have it if on my model I add a “compras” field (relationship), but I want this to be accessible only from the backend

I was wondering, where is state.user initialize? so I can add the “compras” field

I console.log the context.state on callback after ctx.send, but the user is undefined