Closed jammersonf closed 9 years ago
could repair.
thanks!
Hi @jammersonf I have faced this problem. Could you guide me this tip? Thanks you.
I don't remember what was happening exactly, this way is solved. Also check the routes and filters.
public function getLogout()
{
Auth::coach()->logout();
Auth::user()->logout();
Session::flush();
return Redirect::to('/login');
}
Thanks you so much :)
I'm having trouble logout user.
I try to use Auth::logout(); or Auth::coach()->logout(). it passes through the code but still logged User
(Sorry for bad english)