更新src/Middleware/Authenticate.php

This commit is contained in:
候学杰 2019-02-11 14:15:15 +08:00
parent 13637d201f
commit ae059d43d7

View File

@ -49,7 +49,7 @@ class Authenticate
'data' => [ 'data' => [
'url' => app('pd.auth')->connect($redirect), 'url' => app('pd.auth')->connect($redirect),
], ],
]); ],401);
// } else { // } else {
// return redirect(app('pd.auth')->connect($redirect)); // return redirect(app('pd.auth')->connect($redirect));
// } // }