From 33485bcfc220f8f3bb3b44561134ed29a7f0ac63 Mon Sep 17 00:00:00 2001 From: Thijs van den Anker Date: Mon, 26 Oct 2015 20:45:54 +0100 Subject: [PATCH] Middleware contract has been deprecated in 5.1 --- src/Auth0/Login/Middleware/Auth0JWTMiddleware.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Auth0/Login/Middleware/Auth0JWTMiddleware.php b/src/Auth0/Login/Middleware/Auth0JWTMiddleware.php index 9b168d41..0214c21d 100644 --- a/src/Auth0/Login/Middleware/Auth0JWTMiddleware.php +++ b/src/Auth0/Login/Middleware/Auth0JWTMiddleware.php @@ -2,10 +2,9 @@ use Auth0\Login\Contract\Auth0UserRepository; -use Illuminate\Contracts\Routing\Middleware; use Auth0\SDK\Exception\CoreException; -class Auth0JWTMiddleware implements Middleware { +class Auth0JWTMiddleware { protected $userRepository;