404labfr / 404labfr/laravel-impersonate

Problem with CanBeImpersonated() function

オープン
#127 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted possible bug
主要言語
PHP
スター
2.3k
フォーク
235
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。