Skip to content

Commit e4158d6

Browse files
authored
Merge pull request #37 from pravk/patch-1
Update Impersonate.php
2 parents 7bbf5a1 + 395cd3b commit e4158d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Http/Middleware/Impersonate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public function handle($request, $next)
2727
$manager = app()->make(ImpersonateManager::class);
2828

2929
if (
30-
auth()->check() &&
31-
3230
$manager->isImpersonating() &&
31+
32+
auth()->check() &&
3333

3434
!($response instanceof RedirectResponse) &&
3535

0 commit comments

Comments
 (0)