Closed tonypartridge closed 2 weeks ago
When logging in, if canAccessPanel checks the user object we don't have an object yet so it's false.
dd(auth()->user()); in canAccessPanel and it is null.
0.0.8
8.3.13
11.30.0
No response
Nevermind, I was being so stupid, moment I posted this I realised I should be using $this duh.
What happened?
When logging in, if canAccessPanel checks the user object we don't have an object yet so it's false.
How to reproduce the bug
dd(auth()->user()); in canAccessPanel and it is null.
Package Version
0.0.8
PHP Version
8.3.13
Laravel Version
11.30.0
Which operating systems does with happen with?
No response
Notes
No response