It doesn't matter if he was Ok with your status previously--if you are not legally eligible to work in the United States, you may not work here; your employer has to fire you, and, in fact, should never have hired you in the first place. He is obligated to obey the law.