Most people tend to believe that such discrimination is illegal, which is fortunate. That doesn't mean that if it became widely known that there is no specific state law preventing such discrimination that some won't try discriminating. When people believed that they could legally discriminate, they did.