The assignment of any mortgage as herein provided shall carry with it the debt thereby secured.
K.S.A. 58-2323