PROVIDENCE, R.I. (AP) — Rhode Island could soon become the 32nd state to allow online voter registration.

State senators voted 30-6 on Tuesday to pass legislation to create an online portal for electronic voter registration.

Senate Republicans voted against it.

Republican Senate Minority Leader Dennis Algiere says they support the idea of online voter registration but want more safeguards to protect against voter fraud.

Democratic Secretary of State Nellie Gorbea used Twitter to thank the Senate for passing the measure she championed and would implement if it were law.

Democratic Gov. Gina Raimondo also supports it. She expects to sign it into law after either the House or Senate passes the other chamber’s bill and sends it to her desk.

The House voted last month to pass an identical bill.