DEV Community

Alex Justesen
Alex Justesen

Posted on

Learn from my wasted time, Laravel gate without a user

How to write a gate for an optional user, don't be like me and waste hours on it.

Image description

Top comments (0)

Here is a post you might want to check out:

Regex for lazy developers

regex for lazy devs

Sorry for the callout 😆