Update GetUserFromToken.php
This commit is contained in:
parent
6e72d0b7da
commit
3c8447288d
|
@ -41,7 +41,7 @@ class GetUserFromToken extends BaseMiddleware
|
|||
return $this->respond('tymon.jwt.user_not_found', 'user_not_found', 404);
|
||||
}
|
||||
|
||||
$this->events->fire('tymon.jwt.valid', $user);
|
||||
$this->events->dispatch('tymon.jwt.valid', $user);
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user