SACRAMENTO, Calif. (AP) — The state Senate has unanimously approved a bill to prevent employers from asking job applicants for their passwords to social media sites.

AB1844 would ban employers from requiring current or prospective employees to disclose their user names or passwords for sites such as Facebook and Twitter.

The bill by Democratic Assemblywoman Nora Campos of San Jose passed the Senate 37-0 on Monday. It returns to the Assembly for a final vote on technical amendments.

Proponents cited media reports that prospective employers were reviewing job applicants' social media accounts to get answers to questions they could not legally ask.

The bill has support from an unusual coalition that includes the California Chamber of Commerce, unions and labor organizations. Several other states are considering similar bans.