Not the OP. I believe that's the case in the US, but here in Canada, there generally aren't any laws against it. There was a bill in Ontario in 2018 that banned reprisals against workers who discussed their pay, but it died when the governing Liberal party lost the election and the Conservative party did not follow through. As far as I know, the practice is not banned in Alberta either.