From ae059d43d733d78ec9269c2931745dda84838bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=80=99=E5=AD=A6=E6=9D=B0?= Date: Mon, 11 Feb 2019 14:15:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0src/Middleware/Authenticate.p?= =?UTF-8?q?hp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Middleware/Authenticate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); // }