BUDAPEST—Hungary’s parliament amended legislation on Tuesday to curb public access to information on the spending practices of central-bank affiliates and doubled the pay of the bank’s governor, a close ally of the prime minister.

The amendment to the Central Bank Act, passed by the governing-party dominated parliament, stipulates that money the bank allocates to its various educational foundations “loses its nature as public funds,” thus public access to information about its use can be limited.

...