Skip to content

Commit

Permalink
Merge pull request #409 from maxdestors/patch-5
Browse files Browse the repository at this point in the history
Fix doubled RoleDeniedException line
  • Loading branch information
jeremykenedy authored Dec 31, 2021
2 parents 619a977 + 5ab589d commit a633a1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public function report(Throwable $exception)
public function render($request, Throwable $exception)
{
$userLevelCheck = $exception instanceof \jeremykenedy\LaravelRoles\App\Exceptions\RoleDeniedException ||
$exception instanceof \jeremykenedy\LaravelRoles\App\Exceptions\RoleDeniedException ||
$exception instanceof \jeremykenedy\LaravelRoles\App\Exceptions\PermissionDeniedException ||
$exception instanceof \jeremykenedy\LaravelRoles\App\Exceptions\LevelDeniedException;

Expand Down

0 comments on commit a633a1a

Please sign in to comment.