You need to run event.preventDefault() to prevent the Click from automatically submitting the form
Get user info in post route registered in plugin
I am trying to create a plugin which has post route in it, I want to get uid of requesting user in the handler but req.uid is always zero and req.user is always undefined. Any help appreciated.
Thanks @jarey , I was using shiny new fetch api but wasn't including credentials. silly me.