Any issues with Horizon + Twill?
I've installed Horizon, have the
viewHorizon
gate checking against email which locally works but on a staging domain it doesn't. When dumping out the user, in the gate callback it's always null, even dumping auth()->user()
returns null even when logged into the CMS. I saw in the awesome-twill
GH repo there was a link to an atricle on Horizon + Twill but it leads to a 404 page now.2 Replies
To get the auth twill user you need to call like this:
Yeah I ended up figuring that out, but curious why the default auth() guard for Twill wasn't used.