Law cited to justify online voter registration passed with no controversy