更新src/Middleware/Authenticate.php
This commit is contained in:
parent
13637d201f
commit
ae059d43d7
|
@ -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));
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user