A person may establish a mortgage over his property to secure the obligations of another. In such a case, the mortgagor may assert against the mortgagee any defense to the obligation which the mortgage secures that the obligor could assert except lack of capacity or discharge in bankruptcy of the obligor.
La. C.C. § 3295