I made some middleware which checks if a user has registered its device. Therefore it checks if the...
Never mind, this IS the correct way of setting a cookie. I was looking at the wrong place...
The Laravel portal for problem solving, knowledge sharing and community building.
The community