Skip to content

Support Laravel 5.7

Compare
Choose a tag to compare
@barryvdh barryvdh released this 04 Sep 14:13
· 386 commits to master since this release
Fix for policies (#860)

Policies cannot be used now due to this reason. And additionally, the method `Auth::user()` returns the class `Authenticatable` (which is used in gates), not `Authorizable`.

Also, I believe the class `Authenticatable` should be used since it is checking its instance on the line 33.