404labfr / 404labfr/laravel-impersonate

Problem with CanBeImpersonated() function

Đang mở
#127 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
help wanted possible bug
Ngôn ngữ chính
PHP
Star
2.3k
Fork
235
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.