先不处理网页跳转登录
This commit is contained in:
parent
a95524e887
commit
f848d321b7
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -51,9 +51,7 @@ class Authenticate
|
|||
],
|
||||
]);
|
||||
// } else {
|
||||
// //
|
||||
// exit('jump');
|
||||
//// return redirect(app('pd.auth')->connect($redirect));
|
||||
// return redirect(app('pd.auth')->connect($redirect));
|
||||
// }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user