Tenant Fees Ban. How will landlords and tenants be affected?

The new Tenant Fees Act comes into force on the 1st June 2019. So what is it? And how will it affect landlords and tenants?