Search miniOrange 2-Factor plugin and click on the Login Settings tab.
Now, Search Two Factor Registration for users (Inline registration) feature in the login settings tab. Enable the option of Compulsory 2 Factor registration for users at login time.
Click on Save Settings.
Now, the user will be asked for Two Factor registration during login for the first time.