The Navy secretary broke the law by voicing his views on