How do I disable login using a user name?

How do I disable login using a user name?

There is also how to migrate the existing Rocket.Chat to the new server. I built it with docker, and the migration mainly has the following problems:

1, how to complete the migration I have set the user rights?

2, how to complete the migration I have set in the background Settings of the configuration?