SALEM -- Job applicants and employees won't have to "friend" their bosses or allow their employers to see their personal social media accounts under a bill passed by the Oregon Senate on Tuesday.

House Bill 2654 passed 28-1. The bill would also bar employers from retaliating against employees for refusing to provide access to social media accounts or to add employers to their contacts list.

The House passed a similar version April 15. The Senate version of the bill also bars employers from compelling employees to access their social media accounts in the presence of their boss. The new version of the bill now heads back to the House for its approval.

"The world today is different," said Sen. Bruce Starr, R-Hillsboro, who jointly carried the bill. "This bill brings us into that 21st Century universe. Individual privacy is important. This bill protects that privacy in the social media world."