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
pauldwight
pauldwight3w ago
To get the auth twill user you need to call like this:
auth('twill_users')->user()
auth('twill_users')->user()
Braunson
BraunsonOP3w ago
Yeah I ended up figuring that out, but curious why the default auth() guard for Twill wasn't used.

Did you find this page helpful?