Hi, I’m trying to obtain data about current authenticated user, include(user id, nickname, etc) data from default users table. How can I obtain these data and work with it within the plugin?
Try to use ctx.auth.user
in a middleware.
Hi, I’m trying to obtain data about current authenticated user, include(user id, nickname, etc) data from default users table. How can I obtain these data and work with it within the plugin?
Try to use ctx.auth.user
in a middleware.