Miami-Dade commissioners have passed legislation to try to stop scalpers from obtaining Department of Motor Vehicle appointments.