Hello.
Can I transfer some user data from Middleware to Controller?
For example, I get user's ID in my Middleware and I whant to take this ID to my Controller.. and do smth with it there.
How to do it right? Or should I get the data twice?
Hello.
Can I transfer some user data from Middleware to Controller?
For example, I get user's ID in my Middleware and I whant to take this ID to my Controller.. and do smth with it there.
How to do it right? Or should I get the data twice?