Legislation that would make it illegal for an employer to demand that an employee or prospective employee provide their username, password or other log-in information to an email or private social media account passed overwhelmingly in the state House of Representatives Monday by an 87-0 voting margin.

House Bill 314 sponsored by state Rep. Ted James, D-Baton Rouge, would also prohibit employers from firing, disciplining, failing to hire or otherwise penalizing an employee for failure to disclose information that would allow access to an employee’s personal online account.

HB314, known as the Personal Online Account Privacy Protection Act, next moves to the state Senate for further consideration.