404labfr / 404labfr/laravel-impersonate

Problem with CanBeImpersonated() function

Aberta
#127 1 comentário 0 reações 0 responsáveis Ver no GitHub
help wanted possible bug
Linguagem predominante
PHP
Estrelas
2.3k
Forks
235
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.