404labfr / 404labfr/laravel-impersonate

Problem with CanBeImpersonated() function

Aperta
#127 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
help wanted possible bug
Lingua principale
PHP
Stelle
2.3k
Fork
235
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.