They didn't pass a law. The president signed an EO which only applies to the people who work for him.
"Executive orders are simply signed by the president, primarily to direct the officials in the executive branch, but they do not have the same force of law."




I should have been more clear. I honestly assumed it was quoted directly from the article. Didn't even think it was op's typo.