Gov. Andrew Cuomo approved legislation Friday that will limit the use in state courts of so-called confessions of judgment, which previously allowed creditors to both freeze and seize a borrower’s assets, without any litigation, by filing an affidavit in a New York state court.

The practice allowed creditors to file a judgment in New York to seize those funds, even if the borrower lived elsewhere.