The board of commissioners shall have power to provide for the registration of voters, make all needful laws and regulations therefor, and require that no person be permitted to vote in any election unless registered; provided that the books of registration shall be open at least 40 days immediately preceding any city election which may be held in said city, and shall be closed ten days before said election; and provided, when any voter has registered for the regular annual election for members of the board of commissioners no further registration shall be required of said voter at any intermediate election for officers held during the year immediately succeeding the date when he so registered; but it shall be the duty of the official or officials making out the list of voters for the managers at such intermediate election to purge the list of names of persons who may have become disqualified since the last regular election for members of the board of commissioners. The board of commissioners shall pass an appropriate ordinance effectuating this section.