when all of you have read carefully my advice in the past "never setup Ubiquiti Cloud Account for a management of your devices”, then you are living at the safe side. even an usage of such service w/o 2FA is a call for trouble for every irresponsible user.
For Docker hosted controller you don’t need it.
If you have such account just for Unifi support reason (ticket, forum), I hope that you use 2FA as standard. Then you are also out of the issue. Just renew your psw.