Might be against the contract, but that’s not illegal.
Something tells me you are not a lawyer who specializes in IP law.
Something tells me you are not a lawyer who specializes in IP law.