Both person's signatures must appear on the endorsement of the check. If you are only depositing the check without any intention of withdrawing it there is usually not a problem. If you wish to cash it immediately and there is any question as to the validity of the second signature, the bank can compare the signatures against the "sample" signatures they will have on file.