Hmmm - I just paid 2 months deposit in 2021. Googling seems to say that is allowable.
"Effective January 1, 2020, landlords may not request a security deposit of more than one month’s rent for an unfurnished unit, and two month’s rent for a furnished unit, if the unit is rented to a service member."
The one month limit seems specific to service members.