DEV Community

Discussion on: Build a JWT Authenticated API with Lumen(v5.8)

Collapse
 
mamedioguilherme1 profile image
Guilherme Mamedio

public function logout () {
Auth::logout();
return response()->json(['message' => 'Successfully logged out']);
}