The holder of any mortgage as original mortgagee or assignee thereof, or the administrator or executor of any deceased mortgagee or assignee of any mortgage which has been foreclosed in the manner set forth in K.S.A. 58-2326 whose title or claim to such mortgage is adverse to the party having foreclosed the same, shall have six (6) months from the taking effect of this act in which to commence an action in a court of competent jurisdiction to set aside such foreclosure proceedings or to foreclose said mortgage, and if such action to set aside said foreclosure proceedings or to foreclose said mortgage shall not be commenced within said period of six (6) months from the taking effect of this act the said holder of said mortgage as original mortgagee or assignee thereof shall forever be barred from bringing any action to set aside said foreclosure proceedings or to foreclose said mortgage.
K.S.A. 58-2327