404labfr / 404labfr/laravel-impersonate
Problem with CanBeImpersonated() function
Open
help wanted
possible bug
- Dominant language
- PHP
- Stars
- 2.3k
- Forks
- 235
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I am using laravel impersonate with a standard laravel project. However, I started picking up issues with the @CanBeImpersonated($user) function as follows:
syntax error, unexpected ')'
(View: .../resources/views/backend/auth/user/includes/actions.blade.php)
I have coded out the @CanBeImpersonated($user) code around this, and it now works. The error started when I had fiddled with my roles table - > not sure how that impacted things. Any assistance would be welcome.
Regards, Iain
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.