先不处理网页跳转登录

This commit is contained in:
候学杰 2019-01-24 14:09:24 +08:00
parent a95524e887
commit f848d321b7
2 changed files with 2 additions and 4 deletions

View File

@ -17,7 +17,7 @@ trait Controller
$this->guard = $guard;
app('auth')->shouldUse($guard);
$this->middleware(Authenticate::class);
// $this->middleware(CheckRole::class);
$this->middleware(CheckRole::class);
$this->user = app('request')->user($guard);
}

View File

@ -51,9 +51,7 @@ class Authenticate
],
]);
// } else {
// //
// exit('jump');
//// return redirect(app('pd.auth')->connect($redirect));
// return redirect(app('pd.auth')->connect($redirect));
// }
}