Commit 6344615c by 杨昕

test

parent ca96ea5b
Pipeline #10802 passed with stages
in 40 seconds
......@@ -156,9 +156,8 @@ class LoginController extends Controller
*/
public function logout(Request $request)
{
if (Auth::guard('web')->check()) {
Auth::guard('web')->logout();
}
Auth::logout();
$request->session()->flush();
return Redirect('/web/login');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment