diff --git a/src/Middleware/Authenticate.php b/src/Middleware/Authenticate.php index db15478..f9cb313 100644 --- a/src/Middleware/Authenticate.php +++ b/src/Middleware/Authenticate.php @@ -49,7 +49,7 @@ class Authenticate 'data' => [ 'url' => app('pd.auth')->connect($redirect), ], - ]); + ],401); // } else { // return redirect(app('pd.auth')->connect($redirect)); // }