Laravel INCOGAR USUARIO Current
Auth::logout() // logs out the user
Dizzy Dotterel
Auth::logout() // logs out the user
rm -rf storage/framework/sessions/*
for database session
I am updating all users remember tokens to blank and then flushing stored
session by truncate the sessions table.
DB::table('users')->update(array(
'remember_token' => '',
'logout_at' => Carbon::now()->toDateTimeString())
);
Session::flush();